Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49527 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77212 invoked from network); 25 Aug 2010 22:43:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2010 22:43:53 -0000 Authentication-Results: pb1.pair.com header.from=ilia@prohost.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ilia@prohost.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain prohost.org from 209.85.161.42 cause and error) X-PHP-List-Original-Sender: ilia@prohost.org X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:52082] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/2E-02448-8AC957C4 for ; Wed, 25 Aug 2010 18:43:52 -0400 Received: by fxm14 with SMTP id 14so898662fxm.29 for ; Wed, 25 Aug 2010 15:43:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.114.9 with SMTP id c9mr8375167faq.59.1282776229261; Wed, 25 Aug 2010 15:43:49 -0700 (PDT) Received: by 10.223.112.71 with HTTP; Wed, 25 Aug 2010 15:43:49 -0700 (PDT) In-Reply-To: <4C7405A5.7040700@sugarcrm.com> References: <4C73F30A.8080007@sugarcrm.com> <4C7405A5.7040700@sugarcrm.com> Date: Wed, 25 Aug 2010 18:43:49 -0400 Message-ID: To: Stas Malyshev Cc: Pierre Joye , Adam Harvey , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants From: ilia@prohost.org (Ilia Alshanetsky) Stas, Having E_FORTY_TWO would be super-useful ;-) On Tue, Aug 24, 2010 at 1:47 PM, Stas Malyshev 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 > >