|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36636 Fatal, compiler and related errors return a HTTP status code of 200.
Submitted: 2006-03-06 20:33 UTC Modified: 2018-05-05 18:01 UTC
Avg. Score:4.7 ± 0.6
Reproduced:19 of 19 (100.0%)
Same Version:13 (68.4%)
Same OS:15 (78.9%)
From: jonnay at jonnay dot net Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 5.1.2 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
34 - 1 = ?
Subscribe to this entry?

 [2006-03-06 20:33 UTC] jonnay at jonnay dot net
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-18 12:51 UTC] tyra3l at gmail dot com
this is implemented yet imho.
there is a bug with xdebug:
 [2018-05-05 18:01 UTC]
-Status: Open +Status: Duplicate -Package: Feature/Change Request +Package: *General Issues
 [2018-05-05 18:01 UTC]
See bug #50921.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Dec 04 02:05:53 2022 UTC