variable-length arguments passed by reference... how?
| From: | Aric Caley | Date: | Thu, 29 Apr 2004 15:41:39 +0000 |
| Subject: | variable-length arguments passed by reference... how? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184955@lists.php.net to get a copy of this message | ||
I want to create a function similar to the MySqli extensions' mysqli_stmt_bind_param() function. I assume that this function takes its arguments passed by reference. Now, I know how to do variable length argument lists in a function with func_get_arg(s) but how do I tell it that they are to be passed by reference?
I'm using PHP5 and I want to stick by the latest recomendations..