[PATCH] version 2, __HALT_COMPILER();

php.internals

Greg Beaver

19 years ago
Hi, The last patch version still allowed: <?php define('__COMPILER_HALT_OFFSET__', 1); ?> which would break any __HALT_COMPILER(); Interestingly enough, the current implementation makes this script a fatal error: <?php define('__COMPILER_HALT_OFFSET__', 1); __HALT_COMPILER(); ?> But not at the first define, instead it does at the __HALT_COMPILER();. Once again a bug, as it should instead give a notice that __COMPILER_HALT_OFFSET__ is already defined at the userspace define(). Greg