Numeric values of error reporting levels

后端 未结 6 636
孤独总比滥情好
孤独总比滥情好 2020-12-24 09:14

I\'m checking the configuration of my PHP server and I need to set the following parameter as follows:

error_reporting set to E_ALL & ~E_NOTICE

6条回答
  •  無奈伤痛
    2020-12-24 09:46

    Values used for error reporting

     E_RECOVERABLE_ERROR  4096 +
    E_USER_NOTICE        1024 +
    E_USER_WARNING        512 +
    E_USER_ERROR          256 +
    E_COMPILE_WARNING     128 +
    E_COMPILE_ERROR        64 +
    E_CORE_WARNING         32 +
    E_CORE_ERROR           16 +
    E_PARSE                 4 +
    E_WARNING               2 +
    E_ERROR                 1 +
                       = 6135
    

提交回复
热议问题