public static function error_handler($errcode, $errstr, $errfile, $errline, $errcontext) {
		throw new \Exception($errstr.' in '.$errfile.' on line '.$errline, $errcode);
	}
public static function error_handler($errcode, $errstr, $errfile, $errline, $errcontext) {
		throw new \Exception($errstr.' in '.$errfile.' on line '.$errline, $errcode);
	}
public static function error_handler ( $ errcode , $ errstr , $ errfile , $ errline , $ errcontext ) { throw new \ Exception ( $ errstr . ' in ' . $ errfile . ' on line ' . $ errline , $ errcode ) ; }
Handle PHP errors.

@param int $errcode The error code.
@param string $errstr The error description
@param string $errfile The file the error occurred in.
@param int $errline The line the error occurred on.
Handle PHP errors .