douyong1850 2011-01-13 08:33
浏览 569
已采纳

phpinfo的error_reporting 22527中的22527是什么

In my local dev env, I use PHP Version 5.3.3-1ubuntu9.2.

Now when I see error_reporting, the value is 22527.

What is 22527?

I checked http://www.php.net/manual/en/errorfunc.constants.php, but I could not find the number.

Could anyone tell me what it is?

Do I need to change it to E_ALL | E_STRICT ?

Thanks in advance.

  • 写回答

3条回答 默认 最新

  • du0923 2011-01-13 08:43
    关注

    This value is actually bitmap mask, a sum of constants.

    So, 22527 is

      16384 E_USER_DEPRECATED
    +
      4096  E_RECOVERABLE_ERROR
    +
      etc...
    

    In your case it's E_ALL & ~E_DEPRECATED, it will display every error, except E_DEPRECATED.

    PHP versions below 5.4 will also exclude E_STRICT errors (since E_STRICT is not included in E_ALL before that version)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)