|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-21 04:53 UTC] carsten_sttgt at gmx dot de
[2007-11-21 07:05 UTC] jani@php.net
[2007-11-21 10:04 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 08:00:01 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 PS: i'm sorry i have to report this bug twice, but jani@php.net decided to change the status to bogus with too much hurry 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