projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
63128791f5573177f7e046625993b0a3dd034d00
[yaffs-website]
/
constant.test
1
--TEST--
2
"constant" function
3
--TEMPLATE--
4
{{ constant('DATE_W3C') == expect ? 'true' : 'false' }}
5
{{ constant('ARRAY_AS_PROPS', object) }}
6
--DATA--
7
return array('expect' => DATE_W3C, 'object' => new ArrayObject(array('hi')));
8
--EXPECT--
9
true
10
2