ID: 43349 Updated by: [EMAIL PROTECTED] Reported By: andrea dot spacca at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Gentoo (probably all) PHP Version: 5.2.5 New Comment:
There's a parse error in your code, of course this happens. Previous Comments: ------------------------------------------------------------------------ [2007-11-20 15:14:24] andrea dot spacca at gmail dot com Description: ------------ When E_NOTICE or E_WARNING happen in eval'd code the script return 500 HTTP respons even on not blank pages Reproduce code: --------------- <?php eval('$pluto = "test "'.UNDEFINED_CONST.'" test";'); echo 'AFTER'; ?> Expected result: ---------------- Apache Access Log: 192.168.1.1 - - [20/Nov/2007:16:09:23 +0100] "GET /testBug.cgi HTTP/1.1" 200 25 Actual result: -------------- Apache Access Log: 192.168.1.1 - - [20/Nov/2007:16:09:23 +0100] "GET /testBug.cgi HTTP/1.1" 500 25 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43349&edit=1