Bug #17961: no output using ob_clean with a callback function
| From: | gsmet at laposte dot net | Date: | Tue, 25 Jun 2002 07:48:42 +0000 |
| Subject: | Bug #17961: no output using ob_clean with a callback function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12013@lists.php.net to get a copy of this message | ||
From: gsmet@laposte.net
Operating system: Win 2000 SP 2
PHP version: 4.2.1
PHP Bug Type: Output Control
Bug description: no output using ob_clean with a callback function
<?php
ob_start('ob_gzhandler');
?>
1. html html html
<?php
ob_start()
?>
2. html html html
<?php
ob_end_clean();
ob_clean();
?>
3. html html html
<?php
ob_end_flush();
?>
This page must display 3. html html html but there is no output. If I
remove the callback function, it's ok.
I have the same pbm with a user defined callback function.
--
Edit bug report at http://bugs.php.net/?id=17961&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17961&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17961&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17961&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17961&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17961&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17961&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17961&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17961&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17961&r=globals