projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
expressions
/
bitwise.test
1
--TEST--
2
Twig supports bitwise operations
3
--TEMPLATE--
4
{{ 1 b-and 5 }}
5
{{ 1 b-or 5 }}
6
{{ 1 b-xor 5 }}
7
{{ (1 and 0 b-or 0) is same as(1 and (0 b-or 0)) ? 'ok' : 'ko' }}
8
--DATA--
9
return array()
10
--EXPECT--
11
1
12
5
13
4
14
ok