Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » htmlentities()
  » imagecreatefrompng()
  » site_pageranks()
  » imagepng()
  » imagestring()
  » imagedestroy()
  » header()
  » imagecolorallocate()
  » preg_match()
  » session_start()
  » getimagesize()
  » urlencode()
  » ob_start()
  » flush()
  » strpos()
  » str_replace()
  » htmlspecialchars()
  » array2vars()
  » fopen()
  » nl2br()
  » preg_match_all()
  » setcookie()
  » strstr()
  » ob_flush()
  » ereg()
  » preg_split()
  » ereg_replace()
  » var_dump()

Our Sponsors
 » Weblog Community
 » Listen to Podcasts
 » Rock Music Community - meet fans

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email Tabpole[AT]Gmail[DOT]com.

PHP Functions

Function: gzuncompress

(PHP 4 >= 4.0.1, PHP 5)

gzuncompress -- Uncompress a compressed string

Description

string gzuncompress ( string data [, int length] )

This function uncompress a compressed string.

Parameters

data

The data compressed by gzcompress() .

length

The maximum length of data to decode.

Return Values

The original uncompressed data or FALSE on error.

The function will return an error if the uncompressed data is more than 32768 times the length of the compressed input data or more than the optional parameter length .

Examples

Example 1. gzuncompress() example

<?php
$compressed   = gzcompress('Compress me', 9);
$uncompressed = gzuncompress($compressed);
echo $uncompressed;
?>

Related Function(s)

  • gzcompress()
  • gzinflate()
  • gzdeflate()
  • gzencode()
  • Icemelon -- PHP, CSS, Javascript Tutorials, & More!
      © 2005 Icemelon.com   Email: NuTang[AT]Gmail[DOT]com