Re: Could we kill call_user_func?
| From: | Sebastian Krebs | Date: | Fri, 15 Mar 2013 19:00:25 +0000 |
| Subject: | Re: Could we kill call_user_func? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66656@lists.php.net to get a copy of this message | ||
2013/3/15 Stas Malyshev <smalyshev@sugarcrm.com>
> Hi!
>
> > why not enable then this "getCallback()();"?
>
> There's an RFC for that:
> https://wiki.php.net/rfc/fcallfcall
> but it has some edge cases which I didn't have time to figure out yet.
>
In the long run I think it would be great :) Earlier I also realized, that
[MyClass::class, 'methodName']();
doesn't work either.
Regards,
Sebastian
>
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
github.com/KingCrunch