note 63247 deleted from function.func-get-args by nlopess
| From: | nlopess@php.net | Date: | Fri, 17 Mar 2006 09:54:29 +0000 |
| Subject: | note 63247 deleted from function.func-get-args by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-105972@lists.php.net to get a copy of this message | ||
Note Submitter: dranger at export dash japan dot com
----
If you're used to perl5, the following perl code:
sub foo {
@array=@_;
...code
}
can be implemented in PHP as:
<?php
function foo() {
$array=func_get_args();
...code
}
?>