|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-20 16:38 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 00:00:02 2025 UTC |
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