php-src/Zend/tests/constant_expressions_dynamic.phpt

12 lines
117 B
PHP

--TEST--
Dynamic Constant Expressions
--FILE--
<?php
const FOO = 1;
const BAR = FOO | 2;
echo BAR;
?>
--EXPECTF--
3