2013/3/15 Steve Clay <st...@mrclay.org>

> My subject was misleading. I didn't mean to suggest call_user_func() be
> removed, just be made unnecessary by direct call syntax.
>
> This should make the inconsistency clearer: http://3v4l.org/L8Yvq
>
> On 3/15/13 10:21 AM, Sebastian Krebs wrote:
>
>> You don't need to use it, if you don't like it.
>>
>
> I do need to use in case my $callable is an object callback.
>

Well, I would agree, if it is wouldn't be already possible :) You simply
defined your static method "wrong"

http://3v4l.org/IrPTn

I am unsure, if it useful to support "Foo::bar" too, because it doesn't
give any further benefit compared to ["Foo","bar"]


>
>
> Steve Clay
> --
> http://www.mrclay.org/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
github.com/KingCrunch

Reply via email to