ID: 36927 Updated by: [EMAIL PROTECTED] Reported By: tac at smokescreen dot org -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: ALL PHP Version: 5.1.2 New Comment:
Duplicate of bug #36636. Previous Comments: ------------------------------------------------------------------------ [2006-03-31 00:09:32] tac at smokescreen dot org Description: ------------ Fatal errors, including compile errors, return a status code 200, rather than a 500 (Server Error), which should be the default. It would make it easier to see problem pages in our logs if the pages returned a 500, since indeed there is a server error. I realize that in some cases the text has already been sent, but if buffering is on, then the behavior should be to return a 500. Reproduce code: --------------- <?php $x = new bad_object(); ?> Load the page, look at the header. It's a 200, should be a 500. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36927&edit=1