Re: self in inherited methods
| From: | Alex S Kurilo aka Kamazee | Date: | Tue, 21 Apr 2009 17:07:41 +0000 |
| Subject: | Re: self in inherited methods | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291763@lists.php.net to get a copy of this message | ||
Thanks. It seems that 'static' keyword (instead of 'self') is the thing I actually need.Is it right that 'self' in inherited method still points to the parent? If it is, can you explain it? It makes me worry :)Up until 5.3 this was just the way it was. It has been "fixed" in 5.3. See here for more info: http://php.net/lsb