Sat, January 23, 2021
 
https://devcodepro.comdevcodepro
Home · Latest · Trends  /  PHP
5

Log and display all errors, warnings and notices

Log and display all errors, warnings and notices into a file
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set("error_log", "myerrors.log");
error_reporting(E_ALL);
rated 5 times (5) (0)
comments: 0 / hits: 1723  / 3 years ago, sat, sep 16, 17, 04:52:35
More From » PHP
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Posted
giles
Member since Sep 16, 2017
Total Code Snippets: 2
Total Comments: 0
Location: n/a
giles snippets
3 years ago, sat, sep 30, 17, 1:28:06
comments: 0 / hits: 4072
PHP