krot

error_handler

Oct 26th, 2017
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function error_handler($number, $msg, $file, $line, $vars) {
  2.    print_r(debug_backtrace());
  3.    die();
  4. }
  5. set_error_handler('error_handler');
RAW Paste Data