Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49522 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14780 invoked from network); 25 Aug 2010 18:18:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2010 18:18:20 -0000 Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:35934] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/12-02448-B6E557C4 for ; Wed, 25 Aug 2010 14:18:19 -0400 Received: by wyf19 with SMTP id 19so992716wyf.29 for ; Wed, 25 Aug 2010 11:18:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.147.144 with SMTP id l16mr7817210wbv.45.1282760296315; Wed, 25 Aug 2010 11:18:16 -0700 (PDT) Received: by 10.216.184.6 with HTTP; Wed, 25 Aug 2010 11:18:16 -0700 (PDT) In-Reply-To: References: <4C751BDD.3090907@php.net> <4C751E4F.3020901@php.net> <4C751FD8.8020706@n49.com> <4C75571C.6050004@n49.com> Date: Wed, 25 Aug 2010 20:18:16 +0200 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants From: j.boggiano@seld.be (Jordi Boggiano) On Wed, Aug 25, 2010 at 7:47 PM, Tyler Lawson 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..