dis-bench / src /php /php-src /Zend /tests /enum /constants.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
125 Bytes
--TEST--
Enum allows constants
--FILE--
<?php
enum Foo {
const BAR = 'Bar';
}
echo Foo::BAR . "\n";
?>
--EXPECT--
Bar