Etienne Kneuss wrote:
It seems like it'd make more sense to allow *all* functions to be called using the 'normal' syntax without having to resort to that userland workaround.Finally, note that you can do that in userland using something looking like: public function __call($name, $args) { return call_user_func_array(array($this->$name, "__invoke"), $args); }
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php