I have a PHP function and a PHP variable with that function's name in it:
function myPHPFunction1($flag1, $flag2)
{
/ ... /
}
$myPHPVariable = "myPHPFunction1";
Is there any way I can "call" the function named inside the "myPHPVariable" variable? So that, by altering the value inside the "myPHPVariable" variable, I could call different PHP functions?
If I can't do that, is there any way I can create a variable that is the equivalent of C-language-style "function pointer" and call that?
Thanks.