projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9057e837018b694dec29290387c70af4b9af6cdb
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
expressions
/
ternary_operator_nothen.test
1
--TEST--
2
Twig supports the ternary operator
3
--TEMPLATE--
4
{{ 'YES' ?: 'NO' }}
5
{{ 0 ?: 'NO' }}
6
--DATA--
7
return array()
8
--EXPECT--
9
YES
10
NO