PHP 4.0 Bug #8509 Updated: ob_start doesn't work when passing ob_gzhandler as the function

From: Date: Tue, 02 Jan 2001 14:21:35 +0000
Subject: PHP 4.0 Bug #8509 Updated: ob_start doesn't work when passing ob_gzhandler as the function
Groups: php.dev 
Request: Send a blank email to php-dev+get-42570@lists.php.net to get a copy of this message
ID: 8509 Updated by: sniper Reported By: johnh@solidtechnology.com Old-Status: Open Status: Duplicate Bug Type: Output Control Assigned To: Comments: Duplicate of #8334 --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-01 19:09:41] johnh@solidtechnology.com This works: when wrapped in function ob_gzhandler works, really think the bug is with ob_start and internal functions. <?php function compress_output($output) { return ob_gzhandler($output); } ob_start("compress_output"); phpinfo(); ?> This doesn't: <?php ob_start("ob_gzhandler"); phpinfo(); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8509

« previous php.dev (#42570) next »