note 91138 deleted from function.call-user-func-array by danbrown

From: Date: Wed, 27 May 2009 13:57:45 +0000
Subject: note 91138 deleted from function.call-user-func-array by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156073@lists.php.net to get a copy of this message
Note Submitter: sesc03 at web dot de ---- Freek (at) Gruntjes.net: Read the fine NOTE in the text! "Referenced variables in param_arr are passed to the function by a reference, others are passed by a value. In other words, it does not depend on the function signature whether the parameter is passed by a value or by a reference." I.e., if you call it like this: <?php call_user_func_array('refFunc', array(&$var)); ?> it works precisely as you want.

« previous php.notes (#156073) next »