If I have a set of function names in an array ,how can I call a function automatically according to a user response,
array is like this ,
$functions=array("setName($param)" ,"getName()");
Functions are defined elsewhere in the code , I need a solution without using anonymous functions, is this possible? (Sorry for my bad English )