6eba57f898
func_get_args would only return declared parameters when used inside of namespaces. This allows it to work correctly in that case. Closes #832
10 linhas
121 B
PHP
10 linhas
121 B
PHP
<?php
|
|
|
|
namespace foo {
|
|
function bar($a, $b) {
|
|
var_dump(func_num_args(), func_get_args());
|
|
}
|
|
|
|
bar(1,2,3,4,5);
|
|
}
|