note 75917 added to function.func-get-args
| From: | chilavek at mail dot ru | Date: | Thu, 21 Jun 2007 13:20:33 +0000 |
| Subject: | note 75917 added to function.func-get-args | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127860@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 88.204.146.81
----
Manual Page -- http://www.php.net/manual/en/function.func-get-args.php
Edit -- https://master.php.net/note/edit/75917
Del: integrated -- https://master.php.net/note/delete/75917/integrated
Del: useless -- https://master.php.net/note/delete/75917/useless
Del: bad code -- https://master.php.net/note/delete/75917/bad+code
Del: spam -- https://master.php.net/note/delete/75917/spam
Del: non-english -- https://master.php.net/note/delete/75917/non-english
Del: in docs -- https://master.php.net/note/delete/75917/in+docs
Del: other reasons-- https://master.php.net/note/delete/75917
Reject -- https://master.php.net/note/reject/75917
Search -- https://master.php.net/manage/user-notes.php