- --TEST--
- "const" test
- --TEMPLATE--
- {{ 8 is constant('E_NOTICE') ? 'ok' : 'no' }}
- {{ 'bar' is constant('Foo::BAR_NAME') ? 'ok' : 'no' }}
- {{ value is constant('Foo::BAR_NAME') ? 'ok' : 'no' }}
- --DATA--
- return array('value' => 'bar');
- --EXPECT--
- ok
- ok
- ok
|