note 75917 deleted from function.func-get-args by nlopess
| From: | nlopess@php.net | Date: | Thu, 21 Jun 2007 13:29:23 +0000 |
| Subject: | note 75917 deleted from function.func-get-args by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-127864@lists.php.net to get a copy of this message | ||
Note Submitter: chilavek at mail dot ru
----
multiple arguments can be passed to another function, this way:
function dummy() {
$args = func_get_args();
other_function(@$args[0],@$args[1],@$args[2],@$args[3]);
}
just need to make @$args[0] list rather long