Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91473 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77762 invoked from network); 2 Mar 2016 09:54:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2016 09:54:16 -0000 X-Host-Fingerprint: 80.177.120.119 marston-home.demon.co.uk Received: from [80.177.120.119] ([80.177.120.119:12210] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/73-36499-548B6D65 for ; Wed, 02 Mar 2016 04:54:13 -0500 Message-ID: <40.73.36499.548B6D65@pb1.pair.com> To: internals@lists.php.net References: <1F.91.55238.41F10D65@pb1.pair.com> <56D42CD3.6020602@gmail.com> <56D57DF4.8000906@gmail.com> <56D5D2AD.6070805@gmail.com> <56D5DDA6.4080607@fleshgrinder.com> In-Reply-To: <56D5DDA6.4080607@fleshgrinder.com> Date: Wed, 2 Mar 2016 09:53:59 -0000 Lines: 1 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 X-Posted-By: 80.177.120.119 Subject: Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal From: TonyMarston@hotmail.com ("Tony Marston") wrote in message news:56D5DDA6.4080607@fleshgrinder.com... > >On 3/1/2016 6:34 PM, Rowan Collins wrote: >> Rowan Collins wrote on 01/03/2016 11:33: >>> >>> Secondly, violating visibility may have repercussions outside actual >>> errors. >> >> >> Incidentally, PHP itself encountered this a few years ago, where a >> release of libxml2 changed internal behaviour that was being relied on >> for a hack. The result was that entities like > started silently >> disappearing from everyone's parsed XML if they compiled PHP against the >> new library. See https://bugs.php.net/bug.php?id=45996 and >> http://thread.gmane.org/gmane.comp.gnome.lib.xml.general/14610 >> >> Regards, > >The misuse of "var" as it was explained is reason alone to take action. Just because one developer out of millions made a mistake is no reason to punish those millions. If "var" can be abused then "public" can be abused in the same way, so surely the only way to avoid the possibility of ANY abuse whatsoever would be to remove "public" as well as "var". -- Tony Marston