我有WAMP php 5.4.12,我想報告錯誤。當`error_reporting`設置爲`E_ALL`時,無法顯示php錯誤
我php.ini
包含以下內容:
; Common Values:
; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
; http://php.net/error-reporting
error_reporting = E_ALL
,但沒有錯誤顯示。
error_reporting
應該使用什麼值,以及如何檢索報告的錯誤?
感謝您的意見 – maxelcat