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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
14 - 3 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 23:01:29 2024 UTC