note 40735 added to function.func-get-arg

From: Date: Fri, 12 Mar 2004 14:45:43 +0000
Subject: note 40735 added to function.func-get-arg
Groups: php.notes 
Request: Send a blank email to php-notes+get-66734@lists.php.net to get a copy of this message
func_get_arg() returns a *copy* of the argument, to my knowledge there is no way to retrieve references to a variable number of arguments. I have a module system in my game at http://lotgd.net where I'd like to be able to pass a variable number of arguments to functions in a module, and pass them by reference if the module asks for it by reference, but you can't accept optional parameters as references, nor can you retrieve the reference on a variable number of arguments. Looks like my modules will have to do with out the ability to accept parameters to their functions by reference. ---- Manual Page -- http://www.php.net/manual/en/function.func-get-arg.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40735 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40735&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40735&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66734) next »