func_get_args() and call-by-reference?
| From: | Atahualpa Jones | Date: | Thu, 02 Jan 2003 00:27:22 +0000 |
| Subject: | func_get_args() and call-by-reference? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-129890@lists.php.net to get a copy of this message | ||
Hi,
I try to do a function called unicode_enc() which takes a number of parameters that differ between
calls. It should encode all parameters to unicode using utf8_encode($arglist[$i]).
I am using Variable-length argument lists as described in the manual and tried to call the function
this way: unicode_enc(&$text); but to no success.
Is call-by-reference possible when using func_get_args?
TIA,
Ata