What is PHP track_errors?

I just looked through my cpanel php.ini EZConfig (basically php.ini, it just allows me to change some settings in php.ini via cpanel) and noticed track_errors.

Can someone tell me what this means, I searched the php and google website and cannot know exactly what it means?

+7
source share
2 answers

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 $ php_errormsg variable.

+21
source

Track_errors deprecated in PHP 7.2

In php.ini change

track_errors=On
to
track_errors=Off

ini track_errors , $ php_errormsg . , error_get_last(), .

0

All Articles