#45412 [Opn->Csd]: [FR] Error in ob_get_contents french example

From: Date: Wed, 02 Jul 2008 16:59:44 +0000
Subject: #45412 [Opn->Csd]: [FR] Error in ob_get_contents french example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-928@lists.php.net to get a copy of this message
ID: 45412 Updated by: yannick@php.net -Summary: Error in ob_get_contents french example Reported By: j at darksage dot fr -Status: Open +Status: Closed Bug Type: Translation problem PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2008-07-02 08:32:09] j at darksage dot fr Description: ------------ Result of "example 1" in the French documentation of "ob_get_contents" is wrong. Reproduce code: --------------- <?php ob_start(); echo "Bonjour "; $out1 = ob_get_contents(); echo "le monde"; $out2 = ob_get_contents(); ob_end_clean(); var_dump($out1, $out2); ?> Expected result: ---------------- string(8) "Bonjour " string(16) "Bonjour le monde" Actual result: -------------- string(8) "Bonjour " string(8) "le monde" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45412&edit=1

« previous php.doc.bugs (#928) next »