Thanks for your response.
I'll give it a try !
Found another solution, which is VERY simple.
$foo = "my_function";
$dummy = $foo;
That's it. And it works good !
If you want variables passed to this function then type something like this..
$foo = "my_function";
$foo .= "($my_var)";
$dummy = $foo;