Re: [PHP-DEV] Throwing E_DEPRECATED on startup

2009-04-22 Thread Kalle Sommer Nielsen
2009/4/22 Hannes Magnusson : > > There are couple of issues with throwing errors at startup: > 1) They are thrown so damn early that the user will never see them > 2) run-tests.php gets very confused and starts expecting HTTP headers > in the EXPECT section > > If we could delay the checks until af

Re: [PHP-DEV] Throwing E_DEPRECATED on startup

2009-04-21 Thread Hannes Magnusson
2009/4/22 Johannes Schlüter : > On Fri, 2009-02-06 at 20:06 +0100, Kalle Sommer Nielsen wrote: >> I'd like to propose a change for when PHP starts to throw an >> E_DEPRECATED notice for each of the deprecated ini directives (such as >> register_globals, safe_mode ect.) like in HEAD where they just

Re: [PHP-DEV] Throwing E_DEPRECATED on startup

2009-04-21 Thread Johannes Schlüter
On Fri, 2009-02-06 at 20:06 +0100, Kalle Sommer Nielsen wrote: > I'd like to propose a change for when PHP starts to throw an > E_DEPRECATED notice for each of the deprecated ini directives (such as > register_globals, safe_mode ect.) like in HEAD where they just throw a > warning (more about that

[PHP-DEV] Throwing E_DEPRECATED on startup

2009-02-06 Thread Kalle Sommer Nielsen
G'day I'd like to propose a change for when PHP starts to throw an E_DEPRECATED notice for each of the deprecated ini directives (such as register_globals, safe_mode ect.) like in HEAD where they just throw a warning (more about that below). I have attached a patch for this in 5.3 (which is the on