cvs: phpdoc /en/reference/outcontrol/functions ob-get-flush.xml

From: Date: Sat, 03 Jan 2004 17:43:44 +0000
Subject: cvs: phpdoc /en/reference/outcontrol/functions ob-get-flush.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357888@lists.php.net to get a copy of this message
nlopess Sat Jan 3 12:43:44 2004 EDT Modified files: /phpdoc/en/reference/outcontrol/functions ob-get-flush.xml Log: better example as goba sugested Index: phpdoc/en/reference/outcontrol/functions/ob-get-flush.xml diff -u phpdoc/en/reference/outcontrol/functions/ob-get-flush.xml:1.1 phpdoc/en/reference/outcontrol/functions/ob-get-flush.xml:1.2 --- phpdoc/en/reference/outcontrol/functions/ob-get-flush.xml:1.1 Sat Jan 3 12:30:33 2004 +++ phpdoc/en/reference/outcontrol/functions/ob-get-flush.xml Sat Jan 3 12:43:44 2004 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="function.ob-get-flush"> <refnamediv> <refname>ob_get_flush</refname> @@ -33,8 +33,9 @@ //using output_buffering=On print_r(ob_list_handlers()); -//this will output everything in buffer -echo ob_get_flush(); +//save buffer in a file +$buffer = ob_get_flush(); +file_put_contents('buffer.txt', $buffer); print_r(ob_list_handlers()); ?> @@ -51,10 +52,6 @@ ) Array ( - [0] => default output handler -) -Array -( ) ]]> </screen>

« previous php.doc (#969357888) next »