Re: bug of the day: $this
| From: | Ivan Ristic | Date: | Tue, 03 Dec 2002 20:53:25 +0000 |
| Subject: | Re: bug of the day: $this | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92050@lists.php.net to get a copy of this message | ||
Balazs Nagy wrote:
Hi, $this stays defined when an instantatiated member function calls a non-instantiated member function.Correct. I actually find it quite interesting. :) It can be useful at times, I have used it in my libraries as a feature. There is an interesting article on the subject: http://www.advogato.org/article/470.html -- Ivan Ristic, http://www.webkreator.com