Re: Deprecation of func_get_args(), call_user_func_array() and related API
| From: | Marco Pivetta | Date: | Mon, 13 Oct 2014 18:48:36 +0000 |
| Subject: | Re: Deprecation of func_get_args(), call_user_func_array() and related API | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77934@lists.php.net to get a copy of this message | ||
On 13 October 2014 20:20, Marc Bennewitz <php@mabe.berlin> wrote:
>
> On 13.10.2014 02:45, Marco Pivetta wrote:
>
> Your implementation of "userland_call_user_func" doesn't have the same
> visibility as "call_user_func[_array]":
> http://3v4l.org/lNgub
Interesting: this seems to show that it's even more magic than I expected.
Here's just a hacked-together example, just to show that it can be done in
userland as well (there may be better ways): http://3v4l.org/QuQM1#v560
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/