I have the following code
<?php
$f = 'exit';
print "function '$f' \n";
$f();
print "end \n";
?>
that produce this error message:
Fatal error: Call to undefined function exit()
Why can find PHP no exit() function? If I replace the $f(); with a exit(); it works find.
Br
try this:
eval($f.”();”);
Its not a nice way but have to work