xref: /php-src/Zend/tests/halt_compiler3.phpt (revision edf22962)
1--TEST--
2__HALT_COMPILER(); bad define() of __COMPILER_HALT_OFFSET__ 1
3--FILE--
4<?php
5define ('__COMPILER_HALT_OFFSET__', 1);
6?>
7--EXPECTF--
8Warning: Constant __COMPILER_HALT_OFFSET__ already defined in %s on line %d
9