suppose I need to use a variable’s name as the function name of call_user_func_array()Docs
eg.
$j = new SomeObject();
and I’m trying to call $j->funcme();
call_user_func_array('$j->funcme()',$args);
returns the not found or invalid function name error
what should I do to rectify this?
Use it with an array for the Callback:
See:
call_user_func_arrayDocs