ID: 21536 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Output Control Operating System: FreeBSD 4.7 PHP Version: 4.3.0 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php For performance reasons compression of the buffer (ob_gzhandler) is only done at the termination of the script once all the output has been collected. Previous Comments: ------------------------------------------------------------------------ [2003-01-08 20:49:51] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=21536&edit=1