#45413 [Opn->Csd]: [FR] Error in ob_get_clean french example

From: Date: Wed, 02 Jul 2008 17:01:47 +0000
Subject: #45413 [Opn->Csd]: [FR] Error in ob_get_clean french example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-929@lists.php.net to get a copy of this message
ID: 45413 Updated by: yannick@php.net -Summary: Error in ob_get_clean 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:42:37] j at darksage dot fr Description: ------------ Result of "example 1" in the French documentation of "ob_get_clean" is wrong. Case and length are incorrect. Reproduce code: --------------- <?php ob_start(); echo "Bonjour le monde !"; $out = ob_get_clean(); $out = strtolower($out); var_dump($out); ?> Expected result: ---------------- string(18) "bonjour le monde !" Actual result: -------------- string(11) "Bonjour le monde !" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45413&edit=1

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