Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49499 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27857 invoked from network); 24 Aug 2010 18:28:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2010 18:28:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:53500] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/25-34028-42F047C4 for ; Tue, 24 Aug 2010 14:27:49 -0400 Received: from [192.168.1.31] (ppp-93-104-107-168.dynamic.mnet-online.de [93.104.107.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 5E8D544E79; Tue, 24 Aug 2010 20:27:45 +0200 (CEST) To: Adam Harvey Cc: PHP internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 Aug 2010 20:27:43 +0200 Message-ID: <1282674464.3333.119.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Tue, 2010-08-24 at 18:49 +0800, Adam Harvey wrote: > Johannes has pointed out on IRC that E_NONE does already exist in some > projects, so that's an argument against it. Yeah, I did a quick code search, which gave some results defining a constant with that name. This means adding this in 5.3 would be a annoyance and upgrading from X.Y.(Z-1) to X.Y.Z should be a no brainer ... on the other hand the fact that people are defining such a constant and the bug report show that there is some need. I myself don't see a point in a constant for an empty bit mask. As an empty bit mask means 0 ... on the other hand it doesn't cost us much. So, I'm +/- 0 on this for trunk. johannes