note 18523 added to function.call-user-func

From: Date: Sat, 26 Jan 2002 10:13:03 +0000
Subject: note 18523 added to function.call-user-func
Groups: php.notes 
Request: Send a blank email to php-notes+get-25839@lists.php.net to get a copy of this message
too bad you cant pass an object by 'reference', e.g.: function z1(&$obj) { echo "crap"; } function z2($obj) { echo "crap"; } call_user_func("z1",$obj); //wont work.. call_user_func("z2",$obj); //works right.. -- http://www.php.net/manual/en/function.call-user-func.php http://master.php.net/manage/user-notes.php?action=edit+18523 http://master.php.net/manage/user-notes.php?action=delete+18523 http://master.php.net/manage/user-notes.php?action=reject+18523

« previous php.notes (#25839) next »