Skip to content

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Error Message Format Extension

Specify custom error message formats for PHP.

Usage

$url = $_SERVER['REQUEST_URI'];
ini_set( 'error_message_format', '{message} from URL' . $url );

Available replacements:

  • {message} The error message string
  • {file} The file name the error originated
  • {line} The line number the error originated

Compatibily

Supports PHP versions 8+

⚠️ Currently error_message_format is not compatible with Xdebug.

Resources

License

This project is licensed under the MIT License.

About

Custom error message formatting for PHP

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages