PHP Classes

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

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/bitwise.test   Download  
File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/bitwise.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: 212 bytes
 

Contents

Class file image Download
--TEST-- Twig supports bitwise operations --TEMPLATE-- {{ 1 b-and 5 }} {{ 1 b-or 5 }} {{ 1 b-xor 5 }} {{ (1 and 0 b-or 0) is same as(1 and (0 b-or 0)) ? 'ok' : 'ko' }} --DATA-- return array() --EXPECT-- 1 5 4 ok