#36921 [NEW]: ob_start("gz_handler");
| From: | caio53 at gmail dot com | Date: | Thu, 30 Mar 2006 08:58:45 +0000 |
| Subject: | #36921 [NEW]: ob_start("gz_handler"); | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-95105@lists.php.net to get a copy of this message | ||
From: caio53 at gmail dot com
Operating system: Windows, Linux
PHP version: 5.1.2
PHP Bug Type: Output Control
Bug description: ob_start("gz_handler");
Description:
------------
ob_clean(); doesn't work when I use ob_start("gz_handler");
Reproduce code:
---------------
<?php
error_reporting(E_ALL);
ob_start("gz_handler");
echo "content";
ob_clean();
echo "more content";
?>
Expected result:
----------------
more content
Actual result:
--------------
content
Notice: ob_clean() [ref.outcontrol]: failed to delete buffer. No buffer to
delete. in D:\neatcode\test.php on line 6
more content
--
Edit bug report at http://bugs.php.net/?id=36921&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36921&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36921&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36921&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36921&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36921&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36921&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36921&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36921&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36921&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36921&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36921&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36921&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36921&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36921&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36921&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36921&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36921&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36921&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36921&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36921&r=mysqlcfg