我已经看过PHP手册。但我不明白早期版本和更高版本的PHP之间的行为差异。我不明白这样的说法:func_num_args,func_get_arg和func_get_args从php 5.2到5.3的行为差异
Because this function depends on the current scope to determine parameter details, it cannot be used as a function parameter in versions prior to 5.3.0. If this value must be passed, the results should be assigned to a variable, and that variable should be passed.
它可能与PHP在调用函数的范围和它传递给它的函数之间真的混淆了。 – BoltClock
在一些非常奇怪的情况下,它似乎也可以工作:http://codepad.org/MQkQnnJH – cmbuckley