Blog / Joomla, WordPress

The best way to display PHP error messages

Report all PHP errors

ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(-1);

Report all PHP errors except E_NOTICE & E_STRICT

ini_set('display_errors',1); 
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);

PublishedSaturday, Nov 22, 2014

CategoriesJoomla, WordPress

Still Have Questions?
Still Have Questions

Looking for more information? Feel free to reach out anytime.

Subscribe to Web357 Newsletter
Subscribe to Web357 Newsletter

Get updates for new releases, product updates & special offers!

We care about your data in our privacy policy