php error_reporting参数的二进制表

 

常量 二进制
1 E_ERROR 0000000000001
2 E_WARNING 0000000000010
4 E_PARSE 0000000000100
8 E_NOTICE 0000000001000
16 E_CORE_ERROR 0000000010000
32 E_CORE_WARNING 0000000100000
64 E_COMPILE_ERROR 0000001000000
128 E_COMPILE_WARNING 0000010000000
256 E_USER_ERROR 0000100000000
512 E_USER_WARNING 0001000000000
1024 E_USER_NOTICE 0010000000000
2048 E_STRICT 0100000000000
4096 E_RECOVERABLE_ERROR 1000000000000
8191 E_ALL 1111111111111


文章来自: 本站原创
Tags:
评论: 0 | 查看次数: 6047