if($_GET['t']==1)
{
print_r($ret);
}
在页面的url之后添加一个参数&t=1
方法2:file_put_contents("/tmp/XXX", print_r($XXX,1));
添加代码完之后进行语法校验
php -l t.php