#43350 [Fbk->Opn]: 500 HTTP response even on not blank pages (totally bogus)
| From: | andrea dot spacca at gmail dot com | Date: | Wed, 21 Nov 2007 09:01:24 +0000 |
| Subject: | #43350 [Fbk->Opn]: 500 HTTP response even on not blank pages (totally bogus) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119914@lists.php.net to get a copy of this message | ||
ID: 43350
User updated by: andrea dot spacca at gmail dot com
Reported By: andrea dot spacca at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: *General Issues
Operating System: Gentoo (probably all)
PHP Version: 5.2.5
New Comment:
what in "jani@php.net decided to change the status to bogus with too
much hurry" you didn't understand?
i don't know if you are used to think that people are so idiot to post
a bug according to wrong code, surely you don't have the perspicacity to
see that i put the right code here
Previous Comments:
------------------------------------------------------------------------
[2007-11-21 07:05:27] jani@php.net
What in "your script has parse error" you didn't understand?
------------------------------------------------------------------------
[2007-11-21 04:53:22] carsten_sttgt at gmx dot de
Hello,
I can't reproduce this behaviour on Windwows/FreeBSD with a "normal"
PHP script (testBug.php).
BTW:
How have you setup your Apache to recognize "*.cgi" as a PHP-Script?
Because a normal *.cgi script should have a shebang.
------------------------------------------------------------------------
[2007-11-20 18:08:46] 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
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43350&edit=1