Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78860 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5892 invoked from network); 9 Nov 2014 22:39:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2014 22:39:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.214 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.214 mail4-2.serversure.net Linux 2.6 Received: from [217.147.176.214] ([217.147.176.214:50709] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/E2-05117-21DEF545 for ; Sun, 09 Nov 2014 17:39:15 -0500 Received: (qmail 3996 invoked by uid 89); 9 Nov 2014 22:39:11 -0000 Received: by simscan 1.3.1 ppid: 3990, pid: 3993, t: 0.1993s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.8?) (lester@rainbowdigitalmedia.org.uk@86.164.128.225) by mail4.serversure.net with ESMTPA; 9 Nov 2014 22:39:11 -0000 Message-ID: <545FED0D.7000701@lsces.co.uk> Date: Sun, 09 Nov 2014 22:39:09 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <3E2593DC-5755-48A6-8802-6F2FB3625778@ajf.me> <04723EAD-4C8E-41C2-BE81-4989882A0C69@ajf.me> <545B26BB.9020406@lsces.co.uk> <545B589A.4010606@gmx.de> <545B66AB.2000109@lsces.co.uk> <545C2785.4010004@gmx.de> <545FD319.3040703@lsces.co.uk> <545FE3BC.9020707@gmail.com> In-Reply-To: <545FE3BC.9020707@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Thresholds of backwards compatibility breaks From: lester@lsces.co.uk (Lester Caine) On 09/11/14 21:59, Rowan Collins wrote: > None of which has anything to do with E_STRICT. Strict notices aren't > indications that behaviour has changed; since we have E_DEPRECATED, they > shouldn't even indicate behaviour is about to change; they just indicate > that there might be a better way of doing what you're doing. I don't > know why you consider them to be in the same category as code > compatibility at all. That the traditional method of using PHP5 is no longer politically correct is the problem here. One can not use both methods of working at the same time, and since in many cases the third party libraries HAVE been upgraded and require a later version of PHP even to run, HELPING users who had perfectly functional sites based on code that was created using what are still current tutorials but which no longer produce acceptable code is the main problem here. To pretend that PHP5.4 and later can safely run legacy code is the problem, and these are BC breaks that people are pretending have not happened simply because they assume they can be ignored. One method of working may be to configure a PHP setup which blocks any use of e_strict compliant rules and make sure only legacy compatible code is running. Then legacy sites can be kept running without the effort of converting the code to clean e_strict compliance. The main question that should probably be asked is if PHP7 will maintain this source of confusion or ONLY allow e_strict compliance? Certainly I'd prefer to see this on plugged. It is all to easy to have some upgrade override your settings and introduce random breaks in things. THAT is still a major source of agro, with third party libraries overriding settings after one has ensured there were set correctly. It's not SIMPLY ensuring that the hosting is set up correctly, it's the fact that any library can screw that up! -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk