Fri, December 13, 2019, 12:05:07
 
Home · Latest · Trends  /  PHP
5

Log and display all errors, warnings and notices

rated 5 times [  5] [ 0]  / comments: 0 / hits: 1037  / 2 years ago, sat, sep 16, 2017, 16:52:35
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);
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
2 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.