Tips & Tricks

14

call_user_func_array is a time saving, though not commonly used function that allows you to treat the items of an array as arguments when calling a function. You indicate which function call_user_func_array is to call with the first argument, which can take two or three forms, depending on whether you’re using a version of PHP greater or equal to 5.3.