#31025 [Opn->Bgs]: Unclear summaries between the 4 gz-foo functions
| From: | nlopess@php.net | Date: | Fri, 10 Dec 2004 18:45:02 +0000 |
| Subject: | #31025 [Opn->Bgs]: Unclear summaries between the 4 gz-foo functions | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365421@lists.php.net to get a copy of this message | ||
ID: 31025
Updated by: nlopess@php.net
Reported By: php at atu dot cjb dot net
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
The difference is clearly stated in the manual.
gzencode() includes the gzip headers, while gzcompress don't.
Previous Comments:
------------------------------------------------------------------------
[2004-12-08 20:34:03] php at atu dot cjb dot net
Description:
------------
These two make sense:
gzdeflate -- Deflate a string
gzinflate -- Inflate a deflated string
These two do not:
gzcompress -- Compress a string
gzuncompress -- Uncompress a deflated string
I don't know the internal of these functions well enough to say which
way would be correct, but the way it is now is clearly not accurate.
Both of them say it is acting on a deflated string, however
gzcompress() does not say it creates a deflated string.
Any clarity would be nice. Thank you.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31025&edit=1