I'm wondering if it is possible to store a function in a variable and
then call that variable somehow without using the eval command.
For example, something equivalent to:
$command = "myFunction";
$parameter = "some value";
eval ("$command($parameter)");
function myFunction($x) {
...
I don't want to use eval because of security concerns as the parameter
will contain user supplied information. Any suggestions?
Cheers
Dan
_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel