$request->param()为什么会出现一个NULL

浏览:750 发布日期:2017/11/13 分类:ThinkPHP5专区
请求URL,http://hezongfentou.com/tp5/hello?aa=1&&bb=2
结果多出一个null,什么情况
array(3) {
["aa"] => string(1) "1"
["bb"] => string(1) "2"
[0] => NULL
}

这是代码
<?php
namespace app\demo\controller;

use think\Request;

class Index
{
public function hello(Request $request)
{

dump(input());

}
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>