|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36903 Bug #36526 is not a bogus bug
Submitted: 2006-03-29 06:25 UTC Modified: 2006-03-31 09:28 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: govi74 at yahoo dot com Assigned:
Status: Not a bug Package: Zlib related
PHP Version: 5.1.2 OS: Windows
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.
Block user comment
Status: Assign to:
Bug Type:
From: govi74 at yahoo dot com
New email:
PHP Version: OS:


 [2006-03-29 06:25 UTC] govi74 at yahoo dot com
Even I have exactly the same issue as discussed in Bug #36526, this does *not* happen in PHP 5.0.1, but this is a BUG in 5.1.2 

I am using gzcompress the same issue, also the issue is the same for gzinflate/gzdeflate.

The  script is like this...


When send it over _REQUEST.. and trying to reverse it to get the $packeddata,
I get the data error for gzcompress...

$unpackeddata = unserialize(gzuncompress(base64_decode($_REQUEST["data"])));

I need a fix for this, as of now, I have moved back to 5.0.1 again...

If urlencode needs to be used, why was it working fine in the earlier versions???

This is a BUG in the uncompress code.. please have a relook into this...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-29 11:42 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2006-03-31 06:57 UTC] govi74 at yahoo dot com
Test case....

$packeddata = array(y2data => 0,array(1,2,3),array(1,2,3));
echo "<a href=\"page2.php?data=".$data."\">Call Page 2</a>";
if ($_REQUEST["data"]) {
   $unpackeddata =unserialize(gzuncompress(base64_decode($_REQUEST["data"])));
print_r ($unpackeddata);

Hope this makes complete.. on clicking the page2 link from
the page 1 gives this error... this happens
only when we send array data....

Warning: gzuncompress() [function.gzuncompress]: data error in D:\WebHome\home\testcase\page2.php on line 4
 [2006-03-31 09:28 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 09:01:29 2024 UTC