Through Error On Warning Php

[Solved] Through Error On Warning Php | Php - Code Explorer | yomemimo.com
Question : through error on warning php

Answered by : uzair-rashid-tak

function exception_error_handler($severity, $message, $file, $line) { if (!(error_reporting() & $severity)) { // This error code is not included in error_reporting return; } throw new ErrorException($message, 0, $severity, $file, $line);
}
set_error_handler("exception_error_handler");

Source : | Last Update : Sun, 18 Jul 21

Answers related to through error on warning php

Code Explorer Popular Question For Php