On 5 Aug 2014, at 16:20, Ralph Schindler <ra...@ralphschindler.com> wrote:

> "->call()" would facilitate the following syntax, which I'd argue has greater 
> semantic meaning than the call_user_func() variant:
> 
>  $f->bar->call()->call();

At the risk of stating the obvious, can’t you just use $f->bar->__invoke()?
--
Andrea Faulds
http://ajf.me/





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

Reply via email to