Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75066 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67039 invoked from network); 25 Jun 2014 09:06:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2014 09:06:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qa0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:52261] helo=mail-qa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/F0-55756-A019AA35 for ; Wed, 25 Jun 2014 05:06:18 -0400 Received: by mail-qa0-f49.google.com with SMTP id w8so1260082qac.8 for ; Wed, 25 Jun 2014 02:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lDkaCeRwCyHlJeHOn5XMxDXgp0SeS3KZhtS7bAzur5M=; b=FMcb4UafDsJnAglTxWzIgKz6BDjiAErmB8UQ36kTFy8c6lIT5UrklhRh0GOyq4HGES sBLdV3K+ssFvUoSXeFiMbXFiBp7ACL0j2aC0iZO4Q2sIs8ASu+4CupWOs1dcU2Gva5b6 Jhdd21WCFve3gacx7FiL8nayS0+LqDzum7EcfVdP18R/Q44PeGRs4TX11ZFupOVMAcmH zgtBnX2x1/2dmYWKRmpT4KajCFQ/sXF0Ci0ea059j780u0dCWrkM1mMcpEL0z8wIetDy me7Clb/UyLtrhbVavzDjALTMWDwla4dAYArdmbSvWju7ySvgM3kQOyBv8sUVrVxaKClw nSHw== MIME-Version: 1.0 X-Received: by 10.140.102.163 with SMTP id w32mr8921659qge.97.1403687175520; Wed, 25 Jun 2014 02:06:15 -0700 (PDT) Received: by 10.140.25.36 with HTTP; Wed, 25 Jun 2014 02:06:15 -0700 (PDT) Date: Wed, 25 Jun 2014 11:06:15 +0200 Message-ID: To: PHP Internals , Dmitry Stogov Content-Type: multipart/alternative; boundary=001a11c16aca79082e04fca56377 Subject: why do we not set http 500 for errors when the display_error is enabled From: tyra3l@gmail.com (Ferenc Kovacs) --001a11c16aca79082e04fca56377 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I've just got notification about https://bugs.php.net/bug.php?id=3D50921 (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=3Dphp-src.git;a=3Dcommit;h=3D8039433291bd4fa36c897e93= 047d1ebd538dadbb for fixing https://bugs.php.net/bug.php?id=3D42722 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? --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a11c16aca79082e04fca56377--