error_reporting的用法
error_reporting(E_ALL ^E_NOTICE)
error_reporting(E_ALL ~E_NOTICE)
有什么区别?
@本文来*源gaodai#ma#com搞*!代#%^码$网*
——解决方案——————–
error_reporting(E_ALL ~E_NOTICE) 错误
这样才对
error_reporting(E_ALL & ~E_NOTICE)
没有区别
echo E_ALL .' '. E_NOTICE . PHP_EOL;<br />echo E_ALL ^ E_NOTICE , PHP_EOL;<br />echo E_ALL & ~E_NOTICE , PHP_EOL;<br />
30719 8
30711
30711