summaryrefslogtreecommitdiff
path: root/Zend/tests/halt_compiler4.phpt
blob: 43e532ce7dcbc19aad83f40a109070f1b37dbab3 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
__HALT_COMPILER(); bad define() of __COMPILER_HALT_OFFSET__ 2
--FILE--
<?php
define ('__COMPILER_HALT_OFFSET__', 1);
__HALT_COMPILER();
?>
==DONE==
--EXPECTF--
Notice: Constant __COMPILER_HALT_OFFSET__ already defined in %s on line %d