php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #32197 ZLib implementation does not support dictionaries
Submitted: 2005-03-05 03:16 UTC Modified: 2017-07-07 15:43 UTC
Votes:10
Avg. Score:4.9 ± 0.3
Reproduced:9 of 9 (100.0%)
Same Version:1 (11.1%)
Same OS:0 (0.0%)
From: rob at wyrick dot org Assigned: kelunik (profile)
Status: Closed Package: Zlib related
PHP Version: Irrelevant OS: Gentoo Linux
Private report: No CVE-ID: None
 [2005-03-05 03:16 UTC] rob at wyrick dot org
Description:
------------
zlib allows you to specify dictionaries to be used while inflating or deflating.  The php APIs are lacking this functionality.

Properly picked dictionaries can VASTLY improve your compression ratio.  My company is doing this, but I can't use PHP to access the database due to this missing feature in PHP's zlib API.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 22:47 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Zlib related
 [2017-07-07 15:43 UTC] kelunik@php.net
Support has been added in PHP 7.0 via http://php.net/manual/en/function.deflate-init.php and it actually works as of https://bugs.php.net/bug.php?id=73944 now.
 [2017-07-07 15:43 UTC] kelunik@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kelunik
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC