How to show all errors in php?

  • (2 votes)
  • Written by 
  • Thursday, 14 December 2017 15:59

If you need show some errors in your php code - use this php notation:

// enable showing errors in PHP
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT);
ini_set('display_errors','On');
233 Read Last modified on Thursday, 14 December 2017