PHP函数可变函数列表

代码实例 <?php namespace app\index\controller; class Index { public function index(){ $res = $this -> test(1,2,3,4); echo $res; } //函数可变元素列表 public function test(){ $args_num = func_num_args();//获取用户传过来的参
相关文章
相关标签/搜索