[英]Strict Standards Off ~E_STRICT PHP 5.3
I have a script that need Strict Standards Off ~E_STRICT, but I cant understand how can I off strict standards on PHP. 我有一个需要严格标准〜E_STRICT的脚本,但是我不明白如何在PHP上严格标准。 I have centos 6.4 with WHM installed VPS
我有安装了WHM的VPS的centos 6.4
If you want to repport all errors but stric, use error_reporting(E_ALL ^ E_STRICT);
如果要重新报告所有错误,但请使用
error_reporting(E_ALL ^ E_STRICT);
. 。 If you want to repport all errors, use
error_reporting(E_ALL);
如果要重新报告所有错误,请使用
error_reporting(E_ALL);
;。 if you want to log all errors but not show them, use ini_set('display_errors', '0'); error_reporting(E_ALL);
如果要记录所有错误但不显示所有错误,请使用
ini_set('display_errors', '0'); error_reporting(E_ALL);
ini_set('display_errors', '0'); error_reporting(E_ALL);
or change the display_errors
directive in the php.ini
manually and set it to off
. 或在
php.ini
手动更改display_errors
指令并将其设置为off
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.