Re: self in inherited methods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Thanks. It seems that 'static' keyword (instead of 'self') is the thing I actually need.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux