Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26208 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56982 invoked by uid 1010); 23 Oct 2006 21:59:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56967 invoked from network); 23 Oct 2006 21:59:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2006 21:59:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=edink@emini.dk; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=edink@emini.dk; sender-id=pass Received-SPF: pass (pb1.pair.com: domain emini.dk designates 192.38.9.232 as permitted sender) X-PHP-List-Original-Sender: edink@emini.dk X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from [192.38.9.232] ([192.38.9.232:3053] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/B2-39788-45B3D354 for ; Mon, 23 Oct 2006 17:59:48 -0400 Received: by gw2.emini.dk (Postfix, from userid 504) id BCFCACB019; Mon, 23 Oct 2006 23:59:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on gw2.emini.dk X-Spam-Detected: no X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Level: Received: from [10.0.0.11] (port118.ds1-rdo.adsl.cybercity.dk [212.242.124.121]) by gw2.emini.dk (Postfix) with ESMTP id 80C14CB00D; Mon, 23 Oct 2006 23:59:44 +0200 (CEST) Message-ID: <453D3B52.8000700@emini.dk> Date: Mon, 23 Oct 2006 23:59:46 +0200 Organization: Emini A/S User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Marcus Boerger Cc: internals@lists.php.net References: <1485570655.20061023210857@marcus-boerger.de> In-Reply-To: <1485570655.20061023210857@marcus-boerger.de> X-Enigmail-Version: 0.94.1.0 OpenPGP: id=157D0FA8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] E_DEPRECATED From: edink@emini.dk (Edin Kadribasic) Marcus Boerger wrote: > Hello internals, > > after recent discussions (over the last three months)I finally made up my > mind over E_STRICT, deprecation warnings and OOP messages/rules. My idea > proposal is to do the following: > > - Add a new severity E_DEPRECATED > > - severities are used as follows: > . E_DEPRECATED: Some language featre that is likely to go away. Eearlierst > removal would be two minor versions or one major version later. That is > something that gets deprecated in 5.2 can be removed in 5.4.0 or 6.0.0. > However both marking it as deprecated as well as removing it would > require a consensus on the list. > . E_STRICT any rule that reflects common strict standards, like OOP theory > that is considered harmless if not followed. For example the combination > 'abstract static' makes no sense in said theory but doesn't put our zend > engine in an unstable state. > . E_NOTICE or E_WARNING are used for input validations (e.g. domain errors). +1 > - We drop the current standard INI files and provide two new, namely > . php-develop.ini for developing (E_ALL|E_STRICT|E_DEPRECATED) > . php-production.ini for production (~(E_DEPRECATED|E_NOTICE|E_WARNING)) > . E_ALL does not contain E_STRICT or E_DEPRECATED +1 > - We delay 5.2.0 and revisit all errors and change them according to the > new model. We also put any change into the upgrading file. +1 > You may respond with constructive ideas or complaints or go voting for all > or single points here, use -1, 0, +1 only. Please do not reply for the sake > of responding, use pure voting instead as we are running out of time for > 5.2.0 otherwise. > > Best regards, > Marcus Edin