note 9857 modified in function.call-user-func by irchtml

From: Date: Tue, 02 Mar 2004 11:25:03 +0000
Subject: note 9857 modified in function.call-user-func by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66090@lists.php.net to get a copy of this message
I find it easier in a lot of cases to use something like that <? function test($p1){ echo $p1."<br>"; return $p1/2; // just an example } $func = "test"; echo $func(6); ?> --was-- I find it easier in a lot of cases to use something like that &lt;? function test($p1){ echo $p1."<br>"; return $p1/2; // just an example } $func = "test"; echo $func(6); ?> http://www.php.net/manual/en/function.call-user-func.php

« previous php.notes (#66090) next »