Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32417 invoked from network); 13 Jun 2016 17:15:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2016 17:15:59 -0000 Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.89 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.89 mx108.easyname.com Received: from [77.244.243.89] ([77.244.243.89:59286] helo=mx204.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/30-12403-E4AEE575 for ; Mon, 13 Jun 2016 13:15:58 -0400 Received: from cable-81-173-133-15.netcologne.de ([81.173.133.15] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bCVSt-0002Wl-GE; Mon, 13 Jun 2016 17:15:55 +0000 Reply-To: internals@lists.php.net References: <575E8F75.5080801@pascal-martin.fr> To: "Pascal MARTIN, AFUP" , internals@lists.php.net Message-ID: <2ea62803-275c-326f-0a78-6956010e5733@fleshgrinder.com> Date: Mon, 13 Jun 2016 19:15:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <575E8F75.5080801@pascal-martin.fr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SEUvrat6fXGOAcFMBtPbQhUNSP1hv4WX7" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC] [VOTE] Fix inconsistent behavior of $this variable From: php@fleshgrinder.com (Fleshgrinder) --SEUvrat6fXGOAcFMBtPbQhUNSP1hv4WX7 Content-Type: multipart/mixed; boundary="pCEKCm8BWjGNh6g1Q3clTrGftnx6NuSFa" From: Fleshgrinder Reply-To: internals@lists.php.net To: "Pascal MARTIN, AFUP" , internals@lists.php.net Message-ID: <2ea62803-275c-326f-0a78-6956010e5733@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] [VOTE] Fix inconsistent behavior of $this variable References: <575E8F75.5080801@pascal-martin.fr> In-Reply-To: <575E8F75.5080801@pascal-martin.fr> --pCEKCm8BWjGNh6g1Q3clTrGftnx6NuSFa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 6/13/2016 12:48 PM, Pascal MARTIN, AFUP wrote: > Hi, >=20 > At AFUP, we agree the inconsistency outlined in this RFC is quite > strange and fixing it would be nice for the language. >=20 > But, we are not sure this should be done in PHP 7.1 (or any other minor= > version, actually). >=20 > Instead, some of us would be more comfortable with PHP 7.1 (or 7.2, if > it becomes too late for 7.1) adding a deprecation warning. The > inconsistency could then be fixed for 8.0. > This way, no BC-break for 7.x minor versions on this point. >=20 > Even if PHP allowing developpers to modify $this is kind of strange and= > they shouldn't do it, it still is existing behavior. Is there any rush > of fixing this for end-users, on a minor release? >=20 > In any case, thanks for your work on this! >=20 I have to second this concern as with most of the other tiny RFCs going on right now. This is creating a huge BC chain. Yes, the stuff is weird but fixing it in a minor is not how this should be approached. --=20 Richard "Fleshgrinder" Fussenegger --pCEKCm8BWjGNh6g1Q3clTrGftnx6NuSFa-- --SEUvrat6fXGOAcFMBtPbQhUNSP1hv4WX7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXXupIAAoJEOKkKcqFPVVr/EcP+wRmKGBU0nAapQeWb1xkWnUg 49TZGQVEdRubEw4t44UiGo8TPzVenck/075h2dx2jKI8L/spxiGVCiplu/67VIvq Cy1a30uLV35TCepg4hOQfPHCBRkwUrefJ7O8WeXfw9oyq1WdlKhQOyCEnKeAtpV1 QnV2Hj2sQYokdb0MRhAliz5xaHXmiMcIMOmjV1LdV2fvL5LPrrtIRukM754v7pp+ yxDk7cald9v6l+iFGbrUCEgqQs2aHz2wja2FWK+QyIw5eWpDo6aEdiYpbQie+XJT vikrUePcRH38cS802QBJ3ukY/wy283EQ8J9Pin2stsSxTE3DWqdXi2jpLM8TKrl9 E7wW48ExrXvEMia78tGs7oI/fUNmfZ9oztMxXTQjPg6ouzL5YOXAHpptoeMKhHN8 uvnC7qaP8agmiCEPNBYzdwjkuBiyyVCWL3psj+McLVdCFfMgsMJlwdedVSBXRtqj j7nTFum1ofsH7gumV0krT2KVVNLZ0c6DwPINhDvq6eYFMvPlYDQOHclTsjveDtQ2 sndKTNwb8ueCoo6wwY2mk4kMJZBR+ww+cAr1TITGkrTqTby0oeFWJZjMASpHTYsj U2xiWpNO8Ak7/q9imZsX7xkS3slDXh1cQngiX3YxE2ODfBnVqJHnz72PvBMcFsCG y5MKr4M1+Yl2K9IcEYRZ =W1JJ -----END PGP SIGNATURE----- --SEUvrat6fXGOAcFMBtPbQhUNSP1hv4WX7--