Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants
| From: | Stas Malyshev | Date: | Tue, 24 Aug 2010 17:47:17 +0000 |
| Subject: | Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49493@lists.php.net to get a copy of this message | ||
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