Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79077 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 551 invoked from network); 21 Nov 2014 12:35:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Nov 2014 12:35:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=jan@horde.org; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=jan@horde.org; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain horde.org does not designate 82.98.68.218 as permitted sender) X-PHP-List-Original-Sender: jan@horde.org X-Host-Fingerprint: 82.98.68.218 fra.ammma.de Linux 2.6 Received: from [82.98.68.218] ([82.98.68.218:48371] helo=fra.ammma.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/50-32393-C913F645 for ; Fri, 21 Nov 2014 07:35:42 -0500 Received: from ammma.de (fra2-hb [192.168.1.12]) by fra.ammma.de (Postfix) with ESMTPS id 5D2055B04C4 for ; Fri, 21 Nov 2014 13:35:35 +0100 (CET) Received: from mail.ammma.net (ns.ammma.mil [192.168.110.1]) by ammma.de (8.11.6/8.11.6/AMMMa AG) with ESMTP id sALCZXF10326 for ; Fri, 21 Nov 2014 13:35:33 +0100 Received: from neo.wg.de (hydra.ammma.mil [192.168.110.1]) by mail.ammma.net (Postfix) with ESMTP id 439824D1C078 for ; Fri, 21 Nov 2014 13:35:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by neo.wg.de (Postfix) with ESMTP id A2683190047B for ; Fri, 21 Nov 2014 13:36:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at wg.de Received: from neo.wg.de ([127.0.0.1]) by localhost (neo.wg.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iSen6KqmJgMg for ; Fri, 21 Nov 2014 13:36:15 +0100 (CET) Received: from neo (localhost [IPv6:::1]) by neo.wg.de (Postfix) with ESMTPS id CD1DC19003CA for ; Fri, 21 Nov 2014 13:36:15 +0100 (CET) Received: from ( [192.168.60.175]) by neo.wg.de (Horde Framework) with HTTP; Fri, 21 Nov 2014 13:36:15 +0100 Date: Fri, 21 Nov 2014 13:36:15 +0100 Message-ID: <20141121133615.Horde.P-M9Rdh0CFRidC7Wj6bBaQ6@neo.wg.de> To: internals@lists.php.net References: <546C9E22.6090301@fedoraproject.org> <20141119134632.GV2294@phcomp.co.uk> <546CA8C0.1060707@gmail.com> <20141119143329.GX2294@phcomp.co.uk> <1416476628.15061.4.camel@kuechenschabe> <1416502819.15061.38.camel@kuechenschabe> <546F0AA5.30805@lsces.co.uk> <546F2283.5070105@gmail.com> <546F2F5F.6010409@lsces.co.uk> In-Reply-To: <546F2F5F.6010409@lsces.co.uk> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: jan@horde.org (Jan Schneider) Zitat von Lester Caine : > On 21/11/14 11:31, Rowan Collins wrote: >>> I know I sound like a broken record, but this is EXACTLY the same >>> problem as e_strict! It is all very well saying old code can still run >>> if you hide the the warnings and ERRORS, but you have to spend the time >>> fixing each and every warning simply to ensure that it will work on the >>> next release ... hiding things does not work. >>> >>> And I still run my own version of PEAR to get around the e_strict >>> problems! >> >> To reply with a broken record of my own: E_STRICT does not indicate code >> that will break in a future version. Hiding E_STRICT notices will have >> absolutely no detrimental effect on your code, now or in the future. It >> is up to you if you want to improve the code by following the hints, or >> ignore them because the code works fine. >> >> So, no this is not at all similar to the "problem" of E_STRICT, because >> that problem is not real. > > So everything that currently requires e_strict disabled to allow it to > work will continue to work in PHP7? Including the parts that have now > been marked for removal since being deprecated since PHP5.3? You confuse E_STRICT with E_DEPRECATED. Without raising E_DEPRECATED in an earlier minor PHP release, a feature/construct cannot be removed from PHP. > In practice ... NO the code does not work fine UNLESS you ensure that > all of the infrastructure is still using old versions of libraries. And > even then we still get white screen responses with changes of PHP > versions. My point is that on one hand people are COMPLAINING that code > such as PHP 4 Constructors is not being updated and then ALSO claiming > that we don't need to ... PLEASE can we have a level playing field to > code to! I still don't get get what problem this RFC is actually going to solve? I don't see a problem. Yes, PHP4 constructors are are old and should no longer be used. But there is no problem still supporting them. Raise an E_DEPRECATED for those, and be done with it. -- Jan Schneider The Horde Project http://www.horde.org/ https://www.facebook.com/hordeproject