note 11394 rejected and deleted from func_get_args by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Tue, 20 Feb 2001 04:08:45 +0000 |
| Subject: | note 11394 rejected and deleted from func_get_args by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11271@lists.php.net to get a copy of this message | ||
There's no way to pass an array using this method either :
the following code doesn't work :
<?
function testfct($i)
{
print ($i[0].$i[1]);
}
function go()
{
testfct(func_get_args());
}
$tab[0] = "hello ";
$tab[1] = "world";
go($tab);
?>