Jesse, On Tue, May 24, 2016 at 4:25 PM, Jesse Schalken <[email protected]> wrote: > On Tue, May 24, 2016 at 5:18 PM, Dmitry Stogov <[email protected]> wrote: > >> In fact $this is not a regular local variable and it must not be >> re-assigned. >> >> > You're just restating the premise for my question. Why is it not a regular > local variable? Why must it not be reassigned?
$this must be a object you're accessing. If you can change $this, you'll suddenly loose object. PHP 4 treated $this as regular variable and caused lots of problems. Regards, -- Yasuo Ohgaki [email protected] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
