Edit report at http://bugs.php.net/bug.php?id=36636&edit=1
ID: 36636
Comment by: tyra3l at gmail dot com
Reported by: jonnay at jonnay dot net
Summary: Fatal, compiler and related errors return a HTTP
status code of 200.
Status: Open
Type: Feature/Change Request
Package: Feature/Change Request
Operating System: Any
PHP Version: 5.1.2
Block user comment: N
Private report: N
New Comment:
this is implemented yet imho.
there is a bug with xdebug: http://bugs.php.net/bug.php?id=50921
Previous Comments:
------------------------------------------------------------------------
[2006-03-06 20:33:12] jonnay at jonnay dot net
Description:
------------
When a script is executing, and an E_ERROR or an E_PARSE error occurs
(and perhaps E_CORE_ERROR, E_COMPILE_ERROR), an HTTP status code of 500
should be sent (when possible), rather then a 200, because the server
has in fact encountered an internal error, and everything is not
actually OK.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=36636&edit=1