error_reporting(E_ALL) 不产生错误
2022-08-30 12:25:08
这是我的PHP脚本 -
<?php
error_reporting(E_ALL);
echo('catch this -> ' ;. $thisdoesnotexist);
?>
如果要执行,这显然应该显示一些东西。
我看到的只是一个空页。为什么不工作?error_reporting(E_ALL)
<?php
ini_set("display_errors", "1");
error_reporting(E_ALL);
echo('catch this -> ' ;. $thisdoesnotexist);
?>
也无济于事。我得到的只是一个空页面。
我去过和设置和.没有任何反应。php.ini
display_errors = On
display_startup_errors = On