Sometimes the PHP in PHP ini configuration file is not open display error
But sometimes will still need to check the status of the error message
You can use

ini_set ("display_errors", "On"); / / display error if open (On = On, Off = Off)
error_reporting (E_ALL & ~ E_NOTICE);


To show all errors