error_reporting(E_ALL) does not produce error

前端 未结 6 633
一整个雨季
一整个雨季 2020-11-30 05:18

This is my php script-

 \' ;. $thisdoesnotexist);
?>

Which obviously should

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 06:09

    you can try to put this in your php.ini:

    ini_set("display_errors", "1");
    error_reporting(E_ALL);
    

    In php.ini file also you can set error_reporting();

提交回复
热议问题