error_reporting的用法error_reporting(E_ALL ^E_NOTICE)error_reporting(E_ALL ~E_NOTICE)有什么区别?[解
error_reporting的用法
error_reporting(E_ALL ^E_NOTICE)
error_reporting(E_ALL ~E_NOTICE)
有什么区别?
[解决办法]
error_reporting(E_ALL ~E_NOTICE) 错误
这样才对
error_reporting(E_ALL & ~E_NOTICE)
没有区别
echo E_ALL .' '. E_NOTICE . PHP_EOL;30719 8
echo E_ALL ^ E_NOTICE , PHP_EOL;
echo E_ALL & ~E_NOTICE , PHP_EOL;
30711
30711
