Matthew Weier O'Phinney wrote:
* Francisco M. Marzoa Alonso <[EMAIL PROTECTED]>:

Can I override static members in someway under PHP5? Is the answer is negative, Why not?


If they are marked public (or not marked at all as public, private, or
protected, in which case the default is public), then yes, you can
override them.

Override is misleading. Since they can only be access by Classname::$var, unless you use Reflection, code designed to work with the parent class can't access the child class's static variables.


Greg

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



Reply via email to