Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants

From: Date: Wed, 25 Aug 2010 18:18:16 +0000
Subject: Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-49522@lists.php.net to get a copy of this message
On Wed, Aug 25, 2010 at 7:47 PM, Tyler Lawson <tyler@n49.com> wrote: > In short, I don't want to see "error_reporting(E_NONE | E_ERROR);" in > anybody's PHP code. Even if it is harmless. What I don't want to see is "E_NONE" as a string [1]. Also people, why does every little detail like a goddamn constant potentially adding clarity to newcomers has to turn into a huge debate (lately?)? Can't we just agree that it won't hurt anyone and add it already? Cheers [1] search for error_reporting\('E_\w+'\) on google codesearch, if I put the link my mail is rejected as spam..

« previous php.internals (#49522) next »