How would I call a php function from a variable.
For example:
$variable = functionname;
so when calling $variable this will return functionname();
I have tried the following:
$variablereturn = $variable."(sometext)";
print $variablereturn;
and
print $variable."(". print $variabletext. ");";
neither seem to work.
$variable('sometext');"?