Calling a Function Dynamically : Dynamic Function : Functions PHP Source Code


PHP Source Code » Functions » Dynamic Function »

 

Calling a Function Dynamically



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

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Functions
» Dynamic Function