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,
-- 
Michael

Reply via email to