why do we not set http 500 for errors when the display_error is enabled
| From: | Ferenc Kovacs | Date: | Wed, 25 Jun 2014 09:06:15 +0000 |
| Subject: | why do we not set http 500 for errors when the display_error is enabled | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-75066@lists.php.net to get a copy of this message | ||
Hi,
I've just got notification about https://bugs.php.net/bug.php?id=50921
(because I was commenting on the past). I've checked why do we not set http
500, and found this: http://lxr.php.net/xref/PHP_5_4/main/main.c#1154
it was added with
http://git.php.net/?p=php-src.git;a=commit;h=8039433291bd4fa36c897e93047d1ebd538dadbb
for fixing https://bugs.php.net/bug.php?id=42722
I'm a little bit confused how is that change fixing the originaly reported
problem (fatal errors doesn't show up in the output even though that
display_errors is enabled and error_reporting is set to E_ALL).
I don't think that the current behavior is correct, could somebody tell me
what did I missed?
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu