[PATCH] version 2, __HALT_COMPILER();

From: Date: Wed, 07 Feb 2007 17:10:58 +0000
Subject: [PATCH] version 2, __HALT_COMPILER();
Groups: php.internals 
Request: Send a blank email to internals+get-27886@lists.php.net to get a copy of this message
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

« previous php.internals (#27886) next »