PHP Classes

File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/divisibleby.test

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/divisibleby.test   Download  
File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/divisibleby.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 273 bytes
 

Contents

Class file image Download
--TEST-- Twig supports the "divisible by" operator --TEMPLATE-- {{ 8 is divisible by(2) ? 'OK' }} {{ 8 is not divisible by(3) ? 'OK' }} {{ 8 is divisible by (2) ? 'OK' }} {{ 8 is not divisible by (3) ? 'OK' }} --DATA-- return array() --EXPECT-- OK OK OK OK