On Tue, Aug 24, 2010 at 10:14 PM, Stas Malyshev <smalys...@sugarcrm.com> wrote: > Hi! > >> use an E_ constant with error_reporting" and not have the current >> situation where sometimes you use a constant (or constants) and >> sometimes you use a bare number, depending on what you want to >> achieve. > > What's wrong with using 0? 0 means "nothing", how hard is that? `
The only downside is, that programmer will need to know, that E_* constants do mean numbers. With adding E_NONE this knowledge would be unnecessary and people would be able just to think in terms of abstract "symbols" -- Alexey Zakhlestin http://www.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php