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:
colder Thu Jan 11 12:49:41 2007 UTC
Modified 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) {
+ ob_end_clean();
+}
Hi, this will generate an infinite loop if there's a non-erasable output
handler on the stack.
Regards,
--
Etienne Kneuss
http://www.colder.ch
[EMAIL PROTECTED]
Men never do evil so completely and cheerfully as
when they do it from a religious conviction.
-- Pascal