public static function catchGeoIPError($errno, $errstr, $errfile, $errline)
    {
        self::$unzipPhpError = array($errno, $errstr, $errfile, $errline);
    }
public static function catchGeoIPError($errno, $errstr, $errfile, $errline)
    {
        self::$unzipPhpError = array($errno, $errstr, $errfile, $errline);
    }
public static function catchGeoIPError ( $ errno , $ errstr , $ errfile , $ errline ) { self :: $ unzipPhpError = array ( $ errno , $ errstr , $ errfile , $ errline ) ; }
Custom PHP error handler used to catch any PHP errors that occur when
testing a downloaded GeoIP file.

If we download a file that is supposed to be a GeoIP database, we need to make
sure it is one. This is done simply by attempting to use it. If this fails, it
will most of the time fail as a PHP error, which we catch w/ this function
after it is passed to set_error_handler.

The PHP error is stored in self::$unzipPhpError.

@param int $errno
@param string $errstr
@param string $errfile
@param int $errline
Custom PHP error handler used to catch any PHP errors that occur when testing a downloaded GeoIP file .