<html> <head> <title>Calling a Function Dynamically</title> </head> <body> <div> <?php function sayHello() { print "hello<br />"; } $function_holder = "sayHello"; $function_holder(); ?> </div> </body> </html>