I am using php 5.3 (Windows 7).
I create a function that call another function with dynamic variables
func A call func B.
func2($a, $b, $c, ) ... the number of parameters can be dynamic.
call_user_func("func2", $x) - what is the correct syntax to use : call_user function with parameters, that the number of parameters is unknown.
Thanks :)
func_get_args();php.net/func_get_args . Also, you will need to usecall_user_func_arrayinstead ofcall_user_func