note 9857 added to call_user_func

From: Date: Tue, 28 Nov 2000 14:01:03 +0000
Subject: note 9857 added to call_user_func
Groups: php.notes 
Request: Send a blank email to php-notes+get-8187@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); ?> http://www.php.net/manual/function.call-user-func.php

« previous php.notes (#8187) next »