Re: Deprecation of func_get_args(), call_user_func_array() and related API
| From: | Marco Pivetta | Date: | Fri, 10 Oct 2014 20:43:05 +0000 |
| Subject: | Re: Deprecation of func_get_args(), call_user_func_array() and related API | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77859@lists.php.net to get a copy of this message | ||
On 10 October 2014 22:39, Kris Craig <kris.craig@gmail.com> wrote:
> The call_user_func() and call_user_func_array() functions are used all
> over the place. I see absolutely no gain, whatsoever in removing them and
> forcing developers to write their own userland variants instead.
>
> --Kris
>
>
Of course they are, but that's obviously because any codebase written so
far didn't have PHP 5.6 support :-)
The main point here is moving forward and killing API that has no use-case
anymore (and has to be maintained).
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/