Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45446 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86291 invoked from network); 31 Aug 2009 20:00:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2009 20:00:12 -0000 X-Host-Fingerprint: 85.21.236.169 xdmitri.static.corbina.ru Received: from [85.21.236.169] ([85.21.236.169:24040] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/A0-17152-ACB2C9A4 for ; Mon, 31 Aug 2009 16:00:11 -0400 Message-ID: <30.A0.17152.ACB2C9A4@pb1.pair.com> To: internals@lists.php.net References: <4A9BB132.6080503@iki.fi> Date: Tue, 1 Sep 2009 00:00:07 +0400 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Response X-Posted-By: 85.21.236.169 Subject: Re: [PHP-DEV] silent startup errors msg about deprecated (or other) warnings From: dmda@yandex.ru ("jvlad") "Jani Taskinen" wrote in message news:4A9BB132.6080503@iki.fi... > On 08/31/2009 12:06 AM, Pierre Joye wrote: >> Hi, >> >> While trying to fix some tests, I found that display_startup_errors is >> ignored by some startup errors like deprecated ini settings. Using: >> >> php -d display_startup_errors=0 -d safe_mode=1 foo.php > > See also bug #49362 (http://bugs.php.net/bug.php?id=49362) > > --Jani and also see #48583 http://bugs.php.net/bug.php?id=48583 Definitely, during startup, the errors/warnings/notices must be buffered. They can not go directly to the error handlers. It's because configuration (php.ini) may not be loaded and settings related to the errors are not in effect.