Display errors in browser

Uses configuration variables to output errors directly to browser/console (or to disable output). Read more.

fork add to bundle source
function display_errors( $on = true ) { ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); }


load_function('display_errors'); display_errors(); // will enable displaying errors display_errors(false); // will disable displaying errors
← how to use this in app?
create log ...inout