- var_dump: documentation ( source)
- func_num_args: documentation ( source)
- call_user_func: documentation ( source)
<?php
namespace {
function test($a, $b, $c) {
var_dump(call_user_func('func_num_args'));
}
test(1, 2, 3);
}
namespace Foo {
function test($a, $b, $c) {
var_dump(call_user_func('func_num_args'));
}
test(1, 2, 3);
}