From:             [EMAIL PROTECTED]
Operating system: windows 200
PHP version:      4.1.1
PHP Bug Type:     Zlib Related
Bug description:  gzencode can't have a level

<?php
$data =
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
$gzdata = gzencode($data);
echo strlen($gzdata),":ok<BR>";
$gzdata = gzencode($data,9);
echo strlen($gzdata),":bad always 10<BR>";
?>
-- 
Edit bug report at http://bugs.php.net/?id=15930&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15930&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15930&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15930&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15930&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15930&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15930&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15930&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15930&r=submittedtwice

Reply via email to