Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91575 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45774 invoked from network); 9 Mar 2016 11:02:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2016 11:02:49 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.50 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.50 mail-wm0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:33791] helo=mail-wm0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/B9-15119-9D200E65 for ; Wed, 09 Mar 2016 06:02:49 -0500 Received: by mail-wm0-f50.google.com with SMTP id l68so187279296wml.0 for ; Wed, 09 Mar 2016 03:02:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=5OzUJb1HbuXzAdFU6yYgeevv2fytWOxXJjc3t9SgnGk=; b=jgbHtZMzwtbVAeie/uFelikB/c9s+YubkZ1ng9SQKU3WPb08bGNUz1pF2d4hYBxhMT DxQwtKNPLz8H8IYRm6f+i1N04pa7r9H7MnahDYuUfNGlGVieUiyApnmVPsiMjgCAgGYt 7HcyVPanr0wxXPGDcKVCC+XNro7VcObQGBnC047pM8hr/Mtd5Q3Ga2ANsv7jom0fX/tn JTWXZpKISoaNr7FK1TTAVAxXZ84cbbb3USuesViuoFXX1OXei7WDL1QiqUC0FbBP5muk gV7ZCPiZRm7TE93x0gI8RrHP7wzEdFDS8fi8JqXuwwjrp1wap1ROwu0pD9IrGhQ/+ASY h0Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=5OzUJb1HbuXzAdFU6yYgeevv2fytWOxXJjc3t9SgnGk=; b=l3wqj55dywnGLK0d14h8KF8pc4jkuaeq8zlqGPJLuPo1VHieRGXN8VbkZq+lPMdc6T 2F+42sWx/lc/iAOyYhCdR2+Unn09erFiCCUMbw/kakxpHTftmDpJvTY48bRq7ktKZLbK ZOE3nkI5VtNPGKlbs+HiaakFvr6FFObofF1OB77nSt3VMlk7kBvrWlxfZN+vGIuesfN2 qyHKBam6XrPTkTw+a3o3aNylQDO7YNRNPncyv7sTKo1lv8G3MwlDDASR6A6IjK2riBlm F3IApQket3P5Kn7fDtGB07j4VDRj+5keNoBEMJHu5PtyGBYbd6U5zc/GG3KPXmFEoHk2 hFfw== X-Gm-Message-State: AD7BkJItFq9y5SgN5YSiKRfnE24OOmkNWWudOnx7lUto3Tb1loQMKu7RuSlIb71qWerXXg== X-Received: by 10.28.126.8 with SMTP id z8mr26304803wmc.77.1457521366655; Wed, 09 Mar 2016 03:02:46 -0800 (PST) Received: from [192.168.0.152] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id da6sm7374157wjb.24.2016.03.09.03.02.45 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2016 03:02:46 -0800 (PST) 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> <40.73.36499.548B6D65@pb1.pair.com> <56D6BBD0.5010505@gmail.com> <56D73386.3000903@fleshgrinder.com> <86.68.21983.A2508D65@pb1.pair.com> <56D86C00.6000904@fleshgrinder.com> <56dd744b.8157620a.cddfc.74ed@mx.google.com> <56DDEF7B.6080309@fleshgrinder.com> <56DECE15.703@lsces.co.uk> <56DF1750.6050503@lsces.co.uk> <56DF3DFB.10007@fleshgrinder.com> Message-ID: <56E0025C.5040202@gmail.com> Date: Wed, 9 Mar 2016 11:00:44 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal From: rowan.collins@gmail.com (Rowan Collins) Tony Marston wrote on 09/03/2016 10:31: > As a developer who went through several COBOL upgrades I can attest to > the fact that BC breaks were extremely rare and only for a good > reason. My code was never affected simply because I never used any of > the dodgy features (such as ALTER ... GO TO ...) which were removed. ... > I personally started with UNIFACE v5 and move through v6 and v7 > without any BC breaks. How was this possible? Because I never used > those features which caused problems and were later removed. OK, so it was not that there were no BC breaks, just that they happened not to affect you, because you weren't using the removed features. So if, to give an example that was recently discussed, you never used PHP's create_function() function, you would be able to upgrade to a version that removed it without any changes. Clearly, this is not the same thing as "never break BC". This leaves us back with a decision about *which* BC breaks are acceptable, discussion of which includes how many people use the feature, how it will affect them, and what the benefits are in the particular case. Now, I think it's safe to assume that the example of "var" is something that a lot of code will be using, and I have already said that, in this particular case, I don't think the benefits outweigh the costs. But I come to that conclusion not on the principle of "change nothing", but on the principle of weighing costs and benefits, which I am happy to delve into the details of on a case-by-case basis. Regards, -- Rowan Collins [IMSoP]