Skip to content

JaxonRailey/php-custom-error-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom error handler

Custom Error Handler

A super simple, clean and pretty error handler that replace the default error handler of PHP.

You need just include only this file at the beginning of the script.

include 'custom-error-handler.php';

Note that this script is based on PHP 8 or later, if you use a previous version, you need to comment Match Expression and to decomment Switch Statement.

Enjoy!

If you liked what I did, if it was useful to you or if it served as a starting point for something more magical let me know with a star 💚

About

A super simple, clean and pretty error handler that replace the default error handler of PHP. You need only include this file!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages