Re: variable num of function args
| From: | christian haines | Date: | Tue, 03 Dec 2002 13:33:56 +0000 |
| Subject: | Re: variable num of function args | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126845@lists.php.net to get a copy of this message | ||
ooops that should be...
function test2($arr)
{
extract($arr);
print $this;
}
test2($arr = array(
"test" => 1,
"this" => 2
));
// output
2