- array_map: documentation ( source)
- var_dump: documentation ( source)
<?php
namespace Foo {
function test($a, $b, $c) {
var_dump(array_map('extract', [['res' => 123], []]));
}
test(1, 2, 3);
}
/*namespace {
function test($a, $b, $c) {
var_dump(call_user_func('func_get_args'));
var_dump(call_user_func('get_defined_vars'));
}
test(1, 2, 3);
}*/