mirror of
https://github.com/php/php-src.git
synced 2024-12-26 18:29:37 +08:00
12 lines
117 B
PHP
12 lines
117 B
PHP
--TEST--
|
|
Dynamic Constant Expressions
|
|
--FILE--
|
|
<?php
|
|
const FOO = 1;
|
|
const BAR = FOO | 2;
|
|
|
|
echo BAR;
|
|
?>
|
|
--EXPECTF--
|
|
3
|