Re: Re: cvs: phpdoc /en/reference/outcontrol/functions ob-end-clean.xml
| From: | Etienne Kneuss | Date: | Thu, 11 Jan 2007 16:31:52 +0000 |
| Subject: | Re: Re: cvs: phpdoc /en/reference/outcontrol/functions ob-end-clean.xml | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374753@lists.php.net to get a copy of this message | ||
I see, thanks for the note.
In that case, the whole example doesn't make much sense, I'll rewrite it.
-E
Michael Wallner wrote:
Etienne Kneuss wrote:-- Etienne Kneuss http://www.colder.ch colder@php.net Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascalcolder Thu Jan 11 12:49:41 2007 UTCModified files: /phpdoc/en/reference/outcontrol/functions ob-end-clean.xml Log:improve example@@ -35,7 +35,9 @@ <programlisting role="php"> <![CDATA[ <?php -while (@ob_end_clean()); +while (ob_get_level() !== 0) {Hi, this will generate an infinite loop if there's a non-erasable output handler on the stack. Regards,+ ob_end_clean();+}