$name = func_get_arg(func_get_args);
我试图获取我的 PHP 函数的最后一个传递参数。
但是我没有给我最后一个论点,而是得到了这两个错误:
Notice: Use of undefined constant func_get_args - assumed 'func_get_args'
Warning: func_get_arg() expects parameter 1 to be long, string given
有人可以解释一下为什么会发生这种情况以及如何解决吗?