indirect function call

From: Date: Wed, 14 Feb 2001 14:39:18 +0000
Subject: indirect function call
Groups: php.pear 
Request: Send a blank email to php-pear+get-1340@lists.php.net to get a copy of this message
Hi, We are having a little problem with indirect function calls as being discussed on the list for a while... The below thingie does not work, does anybody have any idea to make it run? regards, -bd <?php class bdd { var $bdd_var; function bdd_function($input) { echo "This is bdd_function speaking and the input is : $input"; } } $foo = new bdd; $bar = $foo->bdd_function; $bar("foo bar !"); ?>

« previous php.pear (#1340) next »