How to pass variable number of arguments to a PHP function
I have a PHP function that takes a variable number of arguments (using func_num_args()
and func_get_args()
), but the number of arguments I want to pass the function depends on the length of an array. Is there a way to call a PHP function with a variable number of arguments?