ID: 40367 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux (Ubuntu 6.10 64-bit) PHP Version: 5CVS-2007-02-05 (CVS) New Comment:
this is bogus, due to two mistakes: 1) I misread the output of the script when running from shell with php.ini disabled 2) The actual bug is in Zend Debugger Previous Comments: ------------------------------------------------------------------------ [2007-02-05 20:48:33] [EMAIL PROTECTED] Description: ------------ These test script outputs 94 when there is no content after __HALT_COMPILER(); (which is accurate) and 96 when there is (remove "hi" to see the difference). This is true with PHP 5.1-PHP 5.2 current CVS Reproduce code: --------------- <?php $f = filesize(__FILE__); echo $f."\n"; echo __COMPILER_HALT_OFFSET__; __HALT_COMPILER();hi Expected result: ---------------- 94 Actual result: -------------- 96 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40367&edit=1