php不显示warning方法
关闭php的warning提示的方法:
方法一: (推荐学习:PHP视频教程)
修改php.ini文件中的下列属性
display_errors = Off error_reporting = E_ALL
方法二:
在php文件开头写入:
<?php error_reporting(0); ?>
以上就是php不显示warning方法的详细内容,更多请关注教程集其它相关文章!
您可能感兴趣的文章:
php不显示warning方法
php提示Call-time pass-by-reference has been deprecated错误
php提示Warning: file_get_contents(): couldn’t resolve
Warning: session_start() [function.session-start]
PHP出现Warning: scandir()问题的解决方法
教你开启PHP的error_log日志的方法
分析PHP错误处理(核心特性)
Warning: mssql_connect() [function.mssql-connect]:
hp函数setcookie()报错:Warning: Cannot modify header
详解PHP中include与require的用法区别