How to suppress PHP error messages

No Comments

At this piece of code to the top of your PHP script

error_reporting(0);

It’s always better to try and fix the errors than to hide them!!

Image Credits: Photo by Isis França on Unsplash.

Last Updated On March 22, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link