ru_php/Zend/tests/exit/define_exit_constant.phpt

13 lines
199 B
PHP

--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