How to show all errors in php?

  • (2 votes)
  • Written by 
  • Thursday, 14 December 2023 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');
331 Read Last modified on Thursday, 14 December 2023

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.