What is PHP track_errors?

PHPLOVER picture PHPLOVER · Sep 6, 2010 · Viewed 10.8k times · Source

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.

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

Answer

Matthew picture Matthew · Sep 6, 2010

Search for "track_errors PHP".

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

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