xref: /PHP-7.2/Zend/tests/halt_compiler4.phpt (revision f1d7e3ca)
1--TEST--
2__HALT_COMPILER(); bad define() of __COMPILER_HALT_OFFSET__ 2
3--FILE--
4<?php
5define ('__COMPILER_HALT_OFFSET__', 1);
6__HALT_COMPILER();
7?>
8==DONE==
9--EXPECTF--
10Notice: Constant __COMPILER_HALT_OFFSET__ already defined in %s on line %d
11