From: sergey89 at gmail dot com Operating system: Debian GNU/Linux 4.0r3 PHP version: 5.2.6 PHP Bug Type: PHP options/info functions Bug description: eval causes "Internal Server Error"
Description: ------------ I evaluate broken script with eval function. If display_errors is On i get status 200 in http response, but if is Off i get status 500. It is normal behaviour? error.log is empty. Reproduce code: --------------- <?php ini_set('log_errors', 1); ini_set('display_errors', 0); eval('some)broken-code|'); Expected result: ---------------- HTTP/1.x 200 Ok Actual result: -------------- HTTP/1.x 500 Internal Server Error -- Edit bug report at http://bugs.php.net/?id=45645&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45645&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45645&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45645&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45645&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45645&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45645&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45645&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45645&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45645&r=support Expected behavior: http://bugs.php.net/fix.php?id=45645&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45645&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45645&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45645&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45645&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45645&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45645&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45645&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45645&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45645&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45645&r=mysqlcfg