Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49501 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41606 invoked from network); 24 Aug 2010 20:32:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2010 20:32:06 -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 ns.km36107.keymachine.de Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:63334] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/47-34028-44C247C4 for ; Tue, 24 Aug 2010 16:32:05 -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 5C9FC44E99; Tue, 24 Aug 2010 22:32:00 +0200 (CEST) To: Alexey Zakhlestin Cc: Stas Malyshev , Adam Harvey , Pierre Joye , PHP internals In-Reply-To: References: <4C73F30A.8080007@sugarcrm.com> <4C7405A5.7040700@sugarcrm.com> <4C740BED.4080909@sugarcrm.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 Aug 2010 22:31:59 +0200 Message-ID: <1282681919.3333.122.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 22:23 +0400, Alexey Zakhlestin wrote: > The only downside is, that programmer will need to know, that E_* > constants do mean numbers. > With adding E_NONE this knowledge would be unnecessary and people > would be able just to think in terms of abstract "symbols" Users should be aware of this being a bitmask in order to set proper error modes like E_ALL & ~E_STRICT. johannes