Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49500 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29344 invoked from network); 24 Aug 2010 18:33:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2010 18:33:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:50431] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/75-34028-460147C4 for ; Tue, 24 Aug 2010 14:33:08 -0400 Received: by wyf19 with SMTP id 19so984250wyf.29 for ; Tue, 24 Aug 2010 11:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=qNvH6YPcVTrnakfFIOER75eGK9PbdZNzhA7Mx1XbZaA=; b=IKpu9IZCViAbwt73DqZxfP18ZNeIMk779qUbFFLdUirfMp1QQgL+a34AdSmqmkOQUb ssJyrCJTLjugZlGStrdU/2cpBmCV4EtYXYobP7KOAKEXVheqlalB/NSymUsJY6LMIPGb IpBH2oa7o60F0uOA8QD2KpPDq4JE831VFac8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WfLHEA4cx+ccKxojSoOpLA690o30t9/dieK2YJe78ufROfbFW3UNo+eBLCdSWmynQK 32hWdbJgyzn7pEqEWzSL2ofs5Bl8sN351XS3HJ8FIyKMXuJxaJxLgkthu5iFz8+70vJA ft8ncI7fp5l3PdqohrEDjoQQ2fME8NK/P2Hzo= MIME-Version: 1.0 Received: by 10.227.23.213 with SMTP id s21mr3942454wbb.84.1282674785069; Tue, 24 Aug 2010 11:33:05 -0700 (PDT) Received: by 10.227.138.225 with HTTP; Tue, 24 Aug 2010 11:33:05 -0700 (PDT) In-Reply-To: <4C740BED.4080909@sugarcrm.com> References: <4C73F30A.8080007@sugarcrm.com> <4C7405A5.7040700@sugarcrm.com> <4C740BED.4080909@sugarcrm.com> Date: Tue, 24 Aug 2010 20:33:05 +0200 Message-ID: To: Stas Malyshev Cc: 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: pierre.php@gmail.com (Pierre Joye) On Tue, Aug 24, 2010 at 8:14 PM, Stas Malyshev 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? ` What's the problem actually? It is consistent with the rest. Yes, it is always possible to add & 0 or || 1. But that's off base. -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org