Error reporting in php will allow us to track the errors on our website.
The error may be notice, warning, fatal errors.
The syntax is:
error_reporting();
error_reporing(E_ALL);
error_reporing(E_ALL ^ E_NOTICE);
E_ALL is "everything"
E_ALL & ~E_NOTICE is "everything except notices"
E_ALL ^ E_NOTICE is "everything except notices"
The error may be notice, warning, fatal errors.
The syntax is:
error_reporting();
error_reporing(E_ALL);
error_reporing(E_ALL ^ E_NOTICE);
E_ALL is "everything"
E_ALL & ~E_NOTICE is "everything except notices"
E_ALL ^ E_NOTICE is "everything except notices"
Comments
Post a Comment