Atitit 返回http500返回码,以及自定义返回提示
目录
1.1. Header("HTTP/1.1 404 Not Found"); 可自定义 2
1.2. http_response_code 快速方便 2
1.3. 为了回答您关于区别的问题,我在php文档中找到了this comment(感谢steven): 3
2.1. response.setStatus(302); 4
header("HTTP/1.0 404 Not Found");
^ ^ ^
A B C
header(" ", fa