colder Thu Jan 11 16:36:46 2007 UTC
Modified files: /phpdoc/en/reference/outcontrol/functions ob-end-clean.xml Log: fix example http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml?r1=1.10&r2=1.11&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.10 phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.11 --- phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml:1.10 Thu Jan 11 12:49:41 2007 +++ phpdoc/en/reference/outcontrol/functions/ob-end-clean.xml Thu Jan 11 16:36:46 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 --> <refentry id="function.ob-end-clean"> <refnamediv> @@ -35,9 +35,9 @@ <programlisting role="php"> <![CDATA[ <?php -while (ob_get_level() !== 0) { - ob_end_clean(); -} +ob_start(); +echo 'Text that won\'t get displayed.'; +ob_end_clean(); ?> ]]> </programlisting>