dis-bench / src /php /php-src /Zend /tests /exit /define_exit_constant.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
199 Bytes
--TEST--
Attempting to define exit constant
--FILE--
<?php
const exit = 5;
var_dump(exit);
?>
--EXPECTF--
Parse error: syntax error, unexpected token "exit", expecting identifier in %s on line %d