note 103817 added to function.ob-end-clean
| From: | SamYong-hellclanneratlivedotcom at osu1 dot php dot net | Date: | Thu, 05 May 2011 05:14:35 +0000 |
| Subject: | note 103817 added to function.ob-end-clean | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179440@lists.php.net to get a copy of this message | ||
Take note that if you change zlib output compression setting in between ob_start and ob_end_clean or
ob_end_flush, you will get an error: ob_end_flush() failed to delete buffer zlib output compression
Example:
<?php
ob_start();
$output = ob_get_contents();
ini_set('zlib.output_compression', '1');
ob_end_clean();
?>
ob_end_clean(); in this example will throw the error.
----
Server IP: 69.147.83.197
Probable Submitter: 115.42.208.82
----
Manual Page -- http://www.php.net/manual/en/function.ob-end-clean.php
Edit -- https://master.php.net/note/edit/103817
Del: integrated -- https://master.php.net/note/delete/103817/integrated
Del: useless -- https://master.php.net/note/delete/103817/useless
Del: bad code -- https://master.php.net/note/delete/103817/bad+code
Del: spam -- https://master.php.net/note/delete/103817/spam
Del: non-english -- https://master.php.net/note/delete/103817/non-english
Del: in docs -- https://master.php.net/note/delete/103817/in+docs
Del: other reasons-- https://master.php.net/note/delete/103817
Reject -- https://master.php.net/note/reject/103817
Search -- https://master.php.net/manage/user-notes.php