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



Dmitri Snytkine
Web Developer
Ultra Logistics, Inc.
Phone: (888) 220-4640 x 2097
Fax: (888) 795-6642
E-Mail: dsnytk...@ultralogistics.com
Web: www.ultralogistics.com

"A Top 100 Logistics I.T. Provider in 2011"




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

Reply via email to