php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75360 Compression Level for zlib:// wrapper
Submitted: 2017-10-11 12:55 UTC Modified: 2017-10-24 02:17 UTC
From: info at mgrass dot biz Assigned: pollita (profile)
Status: Closed Package: Zlib related
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: info at mgrass dot biz
New email:
PHP Version: OS:

 

 [2017-10-11 12:55 UTC] info at mgrass dot biz
Description:
------------
I tried to set the Compression Level via the zlib.output_compression_level Option but it has no effect when compressing data with the compres.zlib:// wrapper.

I also looked at the Context Options on http://php.net/manual/en/context.php,
but there are no Options listed for zlib Compression. 

I thought maybe there is a way to set this but it's missing in the Documentation. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-11 14:14 UTC] cmb@php.net
-Package: *Compression related +Package: Zlib related
 [2017-10-24 02:17 UTC] pollita@php.net
-Status: Open +Status: Closed -Type: Documentation Problem +Type: Feature/Change Request -Assigned To: +Assigned To: pollita
 [2017-10-24 02:17 UTC] pollita@php.net
Bad news: You correctly deduced that there's no way to set compression level in the fopen wrapper.

Good news: As of 7.3 there will be: https://github.com/php/php-src/commit/8f804a2128d7109ad6561aff9894ab1ee9244611
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 03:01:23 2020 UTC