#21536 [NEW]: ob_get_length() is broken for ob_gzhandler and zlib.output_compression

From: Date: Thu, 09 Jan 2003 02:49:51 +0000
Subject: #21536 [NEW]: ob_get_length() is broken for ob_gzhandler and zlib.output_compression
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29519@lists.php.net to get a copy of this message
From: jim-bugs.php.net@jimdabell.com Operating system: FreeBSD 4.7 PHP version: 4.3.0 PHP Bug Type: Output Control Bug description: ob_get_length() is broken for ob_gzhandler and zlib.output_compression When ob_gzhandler or zlib.output_compression is switched on, ob_get_length() should report the compressed length, however it reports the uncompressed length. I found an old bug - #12631 - that is identical to this, but it seems it was fixed a while ago, and then "unfixed". I cannot seem to work around it with strlen(ob_get_contents()). -- Edit bug report at http://bugs.php.net/?id=21536&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21536&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21536&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21536&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21536&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21536&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21536&r=support Expected behavior: http://bugs.php.net/fix.php?id=21536&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21536&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21536&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21536&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21536&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21536&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21536&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21536&r=gnused

« previous php.bugs (#29519) next »