Nathan Rixham wrote:
> seen. Personally though I'd love to see stas' #1 get implemented and
> "->" used for all functions in a namespace so..
> one::step::two(); //always static method of class
> one::step->two(); //always function of namespace.
> 
> But it's still ambiguous (only in a rarely though) - if an object with a
> method "two" is assigned to the static variable of a class called one
> then problem comes back.

First of all, this is not going to happen (voted down).  Second of all

one::$step

is how static variables are accessed, not one::step.  So there is no
potential for conflict.

Greg

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

Reply via email to