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.

Related Articles

No results found.

Leave a Reply

avatar
  Subscribe  
Notify of
Menu