func_get_args()、func_get_arg()与func_num_args()

来源:互联网 发布:js原型链继承 编辑:程序博客网 时间:2024/06/05 04:24

func_get_args()返回当前调用函数的参数值,返回array格式;

func_get_arg(索引)返回当前函数指定索引的参数值,返回string格式;

func_num_args()返回当前调用函数的参数个数,返回int格式。




阅读全文
0 0
原创粉丝点击