Does browser stop/crash halts script execution?

后端 未结 4 2070
长情又很酷
长情又很酷 2021-01-18 07:43

I mean, if a php script/page is invoked by a browser and page load/execution is interrupted by user or by browser crash, does script execution continues on the server side?<

4条回答
  •  误落风尘
    2021-01-18 08:06

    Depends on ignore_user_abort(). But if you have some loop or poorly written code, it will run until script timeout / max execution time has been reached (~30 seconds).

提交回复
热议问题