Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25179 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71510 invoked by uid 1010); 3 Aug 2006 09:44:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71495 invoked from network); 3 Aug 2006 09:44:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2006 09:44:55 -0000 X-PHP-List-Original-Sender: jochem@iamjochem.com X-Host-Fingerprint: 194.109.193.121 mx1.moulin.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([194.109.193.121:47338] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 32/B4-44390-595C1D44 for ; Thu, 03 Aug 2006 05:44:55 -0400 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id 4F18A19EAC2; Thu, 3 Aug 2006 11:44:55 +0200 (CEST) Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (mx1.moulin.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08906-18; Thu, 3 Aug 2006 11:44:51 +0200 (CEST) Received: from [192.168.1.106] (bspr.xs4all.nl [194.109.161.228]) by mx1.moulin.nl (Postfix) with ESMTP id DB45016177C; Thu, 3 Aug 2006 11:44:51 +0200 (CEST) Message-ID: <44D1C58F.8060209@iamjochem.com> Date: Thu, 03 Aug 2006 11:44:47 +0200 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Lukas Smith CC: internals@lists.php.net, pierre.php@gmail.com, Zeev Suraski References: <18810497049.20060801234124@marcus-boerger.de> <44CFDB2B.1010907@cschneid.com> <20060802010156.5be0258c@pierre-u64> <44CFDF89.6010506@lerdorf.com> <7.0.1.0.2.20060802153119.0c2193c0@zend.com> <44D0DB82.1070307@lerdorf.com> <7.0.1.0.2.20060803104541.0853b1e0@zend.com> <20060803095558.49c4e484@pierre-u64> <44D1B055.5070905@php.net> In-Reply-To: <44D1B055.5070905@php.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at moulin.nl Subject: Re: [PHP-DEV] RfC: rethink OO inheritance strictness From: jochem@iamjochem.com (Jochem Maas) Lukas Smith wrote: > Hi, > > well it seems that the initial vision of E_STRICT to denote future > deprecation is no longer valid. Then again it might have been a > misunderstanding from the beginning as E_DEPRECATED would have been the > more obvious name in that case. I did try to point this out but I was probably ignored due to lack of karma (which is understandable given the volume of the thread). I don't care much about *real* strictness issues but I do develop with E_STRICT on because it tells me about things in my code that are depreciated and/or will be removed in future versions (which is something I do care about). so it seems an E_DEPRECIATED might be needed (requiring alot of E_STRICTS to be changed), or alternatively something like an E_NOTRECOMMENDED? someone just mentioned the the possibility of having this strictness (and maybe others?) error be thrown as an E_NOTICE. I personally like this approach because E_NOTICE does not have the same "this is second class code and the ability to run it will disappear in the future" connotations as E_STRICT does. kind regards, Jochem > > I still think that a flag on a per class basis would be the better > solution, but I guess I can accept this change. > > This reminds me again about my question of how E_STRICT warnings are > added and how things are then handled (E_STRICT becomes E_ERROR or the > feature is removed entirely) with the future releases. I think a clear, > written down policy is needed (and as always may be overwritten via > common sense on a case by case basis). > > regards, > Lukas >