/** * Error handler. */ public static function error_handler($errno, $errstr, $errfile, $errline) { echo "Catchable Fatal Error: {$errstr} in {$errfile} line {$errline}. Stack trace follows.\n"; PSU::backtrace(); die; }