$this->ajaxReturn($arr,'json');为什么内存耗尽?

浏览:807 发布日期:2015/07/22 分类:求助交流 关键字: ajax
提示错误:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65488 bytes) in H:\Program Files\xampp\htdocs\thinkphp\Application\Home\Controller\AjaxController.class.php on line 13

想学一下异步加载的,结果就出来这样的情况,各位大神求救这是怎么了?

我这个写的也没什么问题啊:<?php
namespace Home\Controller;
use Think\Controller;
class AjaxController extends Controller {
    public function index(){
       $this->display();
      
    }
    public function ajaxReturn(){
       $arr = "jj";
        $this->ajaxReturn($arr,'json');
        unset($arr);
    }
    
}
最佳答案
评论() 相关
后面还有条评论,点击查看>>