error_reporting(E_ALL) does not produce error

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

This is my php script-

 \' ;. $thisdoesnotexist);
?>

Which obviously should

6条回答
  •  时光取名叫无心
    2020-11-30 06:17

    In your php.ini file check for display_errors. If it is off, then make it on as below:

    display_errors = On
    

    It should display warnings/notices/errors .

    Please read this

    http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting

提交回复
热议问题