Le 06/06/2016 09:18, Dmitry Stogov a écrit :

You can find the full RFC at: <https://wiki.php.net> 
https://wiki.php.net/rfc/this_var

I encourage everyone to read the RFC and cast your vote towards whichever
option you feel is the best for the language and the community.


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!

--
Pascal MARTIN, AFUP - French UG
http://php-intern...@afup.org

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to