How would this be different from defining a function MyClass?

Nikita

On Mon, Nov 28, 2011 at 9:02 PM, Dmitri Snytkine
<dsnytk...@ultralogistics.com> wrote:
> I think __invokeStatic() would be a very useful magic function, especially
> with support for late static binding.
> you could difine it one and all sub-classes will have that option of
> basically being callable classes.
>
> MyClass($params) could then do some processing and return some data.
>
> This would basically be the same as doing MyClass::doSomething($params);
> only without the extra typing of ::doSomething

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

Reply via email to