CodeExplorer compatible_gzinflate example
return $decoded;
} } if (function_exists('gzinflate'
)) { $decoded = @
gzinflate($data);
if ($decoded !== false
) { return $decoded;
} } $decoded = self::
compatible_gzinflate($data);
if ($decoded !== false
) { return $decoded;
} if (function_exists('gzuncompress'
)) { $decoded = @
gzuncompress($data);
if ($decoded !== false
) { return $decoded;
} } public static function decompress( $compressed,
$length = null
) { if ( empty( $compressed ) ) { return $compressed;
} $decompressed = @
gzinflate( $compressed );
if ( false !==
$decompressed ) { return $decompressed;
} $decompressed = self::
compatible_gzinflate( $compressed );
if ( false !==
$decompressed ) { return $decompressed;
} $decompressed = @
gzuncompress( $compressed );
if ( false !==
$decompressed ) { return $decompressed;
} if ( function_exists( 'gzdecode'
) ) { $decompressed = @
gzdecode( $compressed );