2009年4月7日星期二

PHP snippets

Here we got a fricking sweet function from PHP5(not sure though):

function test($aa,$bb)
{
$arg_list = func_get_args();
print_r($arg_list);
}

test(1,2);
?>

This func simply gets every parameter which the function it was put in gets.

没有评论: