Re: silent startup errors msg about deprecated (or other) warnings

From: Date: Mon, 31 Aug 2009 20:00:07 +0000
Subject: Re: silent startup errors msg about deprecated (or other) warnings
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-45446@lists.php.net to get a copy of this message
"Jani Taskinen" <jani.taskinen@iki.fi> 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.

« previous php.internals (#45446) next »