Re: PHP6 todo list (E_STRICT in E_ALL)
| From: | Hannes Magnusson | Date: | Tue, 17 Apr 2007 13:15:27 +0000 |
| Subject: | Re: PHP6 todo list (E_STRICT in E_ALL) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28886@lists.php.net to get a copy of this message | ||
On 4/17/07, Christian Schneider <cschneid@cschneid.com> wrote:
Hannes Magnusson wrote:How exactly would any app break? You don't display errors on your production server, do you? It will only help you understand what is going on while you develop the application. I think what we need here is fix our php.ini files: php.ini-production & php.ini-developing -HannesMy dictionary says that "all" means *all*, not "all except this and this and sometimes not that". E_ALL should have been called E_RECOMMENDED or E_DEFAULT to avoid this confusion but in reality changing E_ALL to include everything would unnecessarily break existing installations. I think we will have to live with this misnomer and not try to 'fix' it.7. add E_STRICT to E_ALL DONE (dmitry)
I'm with Lukas there about the E_STRICT/E_DEPRECATED split but I'm not even sure if E_DEPRECATED should be included in E_ALL: It depends on how liberally things will get marked E_DEPRECATED. - Chris