note 9857 deleted from function.call-user-func by felipe
| From: | felipe@php.net | Date: | Tue, 22 Jul 2008 02:57:26 +0000 |
| Subject: | note 9857 deleted from function.call-user-func by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142470@lists.php.net to get a copy of this message | ||
Note Submitter: ceco at noxis dot net
----
I find it easier in a lot of cases to use something like this:
<?php
function test($p1){
echo $p1."<br>";
return $p1/2; // just an example
}
$func = "test";
echo $func(6);
?>