From: govi74 at yahoo dot com Operating system: Windows PHP version: 5.1.2 PHP Bug Type: Zlib Related Bug description: Bug #36526 is not a bogus bug
Description: ------------ 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... $data=base64_encode(gzcompress(serialize($packeddata))); 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... -- Edit bug report at http://bugs.php.net/?id=36903&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36903&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36903&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36903&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36903&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36903&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36903&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36903&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36903&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36903&r=support Expected behavior: http://bugs.php.net/fix.php?id=36903&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36903&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36903&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36903&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36903&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36903&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36903&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36903&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36903&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36903&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36903&r=mysqlcfg