什么是PHP track_errors?

问题描述:

我只是浏览了Cpanel的php.ini EZConfig(基本上是php.ini;它只允许我通过Cpanel更改php.ini中的某些设置),并注意到track_errors。

I was just glancing through my Cpanel's php.ini EZConfig (basically php.ini; it just allows me to change some settings in php.ini through Cpanel) and noticed track_errors.

有人可以告诉我这是什么意思吗,我已经搜索了php网站和Google,却找不到确切的含义?

Can someone tell me what this means, I have searched the php website and Google and cannot find out what it means exactly?

搜索 track_errors PHP。

Search for "track_errors PHP".

http://us3.php.net/manual/en/errorfunc.configuration.php#ini.track-errors


如果启用,最后一条错误消息将始终出现在变量$ php_errormsg中。

If enabled, the last error message will always be present in the variable $php_errormsg.