Re: Throwing E_DEPRECATED on startup
| From: | Kalle Sommer Nielsen | Date: | Thu, 23 Apr 2009 06:13:57 +0000 |
| Subject: | Re: Throwing E_DEPRECATED on startup | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43761@lists.php.net to get a copy of this message | ||
2009/4/22 Hannes Magnusson <hannes.magnusson@gmail.com>:
>
> 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 after php_module_startup()..
The patch is just like the one in HEAD (for E_WARNINGS about removed
configurations), meaning that we may need to change it after there
aswell.
>
> -Hannes
>
>
--
Kalle Sommer Nielsen
kalle@php.net