dis-bench / src /php /php-src /Zend /tests /enum /case-in-class.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
149 Bytes
--TEST--
Enum case in class
--FILE--
<?php
class Foo {
case Bar;
}
?>
--EXPECTF--
Fatal error: Case can only be used in enums in %s on line %d