Project

General

Profile

Task #94060

Updated by Larry Garfield over 3 years ago

Since PHP 5.6, 5.5, the splat operator (aka variadics) has been able to do everything that call_user_func() and call_user_func_array() do.    Being a language construct, though, it's slightly faster as it skips a function call. 

 Let's use it, because the code is usually clearer anyway, as well as a tiny bit faster.

Back