colder Thu Jan 11 12:49:41 2007 UTC
Modified files: /phpdoc/en/reference/outcontrol/functions ob-end-clean.xml Log: improve example http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml diff -u phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.9 phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.10 --- phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.9 Sat Oct 29 06:45:22 2005 +++ phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml Thu Jan 11 12:49:41 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 --> <refentry id="function.ob-end-clean"> <refnamediv> @@ -35,7 +35,9 @@ <programlisting role="php"> <![CDATA[ <?php -while (@ob_end_clean()); +while (ob_get_level() !== 0) { + ob_end_clean(); +} ?> ]]> </programlisting>