Re: [RFC] [VOTE] Fix inconsistent behavior of $this variable
| From: | Fleshgrinder | Date: | Mon, 13 Jun 2016 17:15:52 +0000 |
| Subject: | Re: [RFC] [VOTE] Fix inconsistent behavior of $this variable | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93944@lists.php.net to get a copy of this message | ||
On 6/13/2016 12:48 PM, Pascal MARTIN, AFUP wrote:
> Hi,
>
> At AFUP, we agree the inconsistency outlined in this RFC is quite
> strange and fixing it would be nice for the language.
>
> But, we are not sure this should be done in PHP 7.1 (or any other minor
> version, actually).
>
> 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.
>
> 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?
>
> In any case, thanks for your work on this!
>
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.
--
Richard "Fleshgrinder" Fussenegger
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc