On 05/24/2016 08:45 AM, Jesse Schalken wrote:
I'm curious, what is it about $this that makes it special in the first place? Can't it be a normal local variable that happens to already be assigned at the start of a method?

In fact $this is not a regular local variable and it must not be re-assigned.

Thank. Dmitry.


On Tue, May 24, 2016 at 6:24 AM, Dmitry Stogov <dmi...@zend.com <mailto:dmi...@zend.com>> wrote:

    Hi internals,


    Please review the RFC.

    It proposes to fix all known inconsistencies related to handling
    of special $this variable.


    https://wiki.php.net/rfc/this_var


    Thanks. Dmitry.



Reply via email to