Sun, July 12, 2020, 03:14:52
 
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: 1368  / 3 years ago, sat, sep 16, 2017, 16:52:35
More From » PHP
 

Comments

There are no comments for this Snippet yet
Username
 
Your Comment
 
Share
Snippets
Convert HTML to formatted plain text with PHP
3 years ago, sat, sep 30, 2017
Posted
giles

giles

Member since Sep 16, 2017
Total Code Snippets: 2
Total Comments: 0
Location: n/a
Following
User not following anyone yet.