PHP 4.0 Bug #8509: ob_start doesn't work when passing ob_gzhandler as the function
| From: | johnh at solidtechnology dot com | Date: | Tue, 02 Jan 2001 00:09:41 +0000 |
| Subject: | PHP 4.0 Bug #8509: ob_start doesn't work when passing ob_gzhandler as the function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42550@lists.php.net to get a copy of this message | ||
From: johnh@solidtechnology.com
Operating system: Redhat 7.0
PHP version: 4.0.4
PHP Bug Type: Output Control
Bug description: ob_start doesn't work when passing ob_gzhandler as the function
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();
?>
--
Edit Bug report at: http://bugs.php.net/?id=8509&edit=1