Hi!

> About the accessing static property non statically, I would have thrown an
> E_ERROR : the property simply doesn't exist. Class properties should be
> accessed using the class, not an instance of it , IMO.

Sometimes, there's no fixed class but there's an object of this class.
Doing something like $klass = get_class($foo); $klass::property is
possible, but $foo->property is easier.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to