custom_warning_handler()
custom_warning_handler(integer $errno, string $errstr, string $errfile, integer $errline, mixed $errcontext)
Only throw an exception if the error level would report it
Parameters
integer | $errno | |
string | $errstr | |
string | $errfile | |
integer | $errline | |
mixed | $errcontext |
Throws
- \Exception