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