How to suppress PHP error messages

5 sec read

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!!

Last Updated On March 22, 2018

Leave a Reply

avatar
  Subscribe  
Notify of