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

From: Date: Sat, 12 May 2001 01:14:25 +0000
Subject: 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-54945@lists.php.net to get a copy of this message
ID: 8509 Updated by: sniper Reported By: johnh@solidtechnology.com Old-Status: Duplicate Status: Closed Bug Type: Output Control Operating system: PHP Version: 4.0.4 Assigned To: Comments: Fixed in PHP 4.0.5 --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-02 09:21:35] sniper@php.net Duplicate of #8334 --Jani --------------------------------------------------------------------------- [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(); ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8509&edit=2

« previous php.dev (#54945) next »