array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.gzinflate.php', 1 => 'gzinflate', ), 'up' => array ( 0 => 'ref.zlib.php', 1 => 'Zlib 関数', ), 'prev' => array ( 0 => 'function.gzgetss.php', 1 => 'gzgetss', ), 'next' => array ( 0 => 'function.gzopen.php', 1 => 'gzopen', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/zlib/functions/gzinflate.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8)
gzinflate — deflate圧縮された文字列を解凍する
オリジナルの無圧縮なデータ、もしくはエラー時に false
この関数は、もし無圧縮なデータが圧縮された入力 data
の 32768 倍以上の場合、エラーを返します。
また、オプションのパラメータ max_length
に 0
以外が指定された場合、
無圧縮なデータが max_length
以上の場合、エラーを返します。
例1 gzinflate() の例
<?php
$compressed = gzdeflate('Compress me', 9);
$uncompressed = gzinflate($compressed);
echo $uncompressed;
?>