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

From: Date: Wed, 25 Aug 2010 22:43:49 +0000
Subject: Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-49527@lists.php.net to get a copy of this message
Stas, Having E_FORTY_TWO would be super-useful ;-) On Tue, Aug 24, 2010 at 1:47 PM, Stas Malyshev <smalyshev@sugarcrm.com> wrote: > Hi! > >> Rhetorical question: Why do we need constants when the values never >> change? :) > > You seriously don't know why one needs constants or don't see a difference > between constant E_WARNING equal to 8 and constant E_NONE meaning "nothing" > and equal to 0? How about having constants ONE, TWO, THREE, FOUR? Just in > case, won't hurt anybody, right? :) > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#49527) next »