#45413 [NEW]: Error in ob_get_clean french example

From: Date: Wed, 02 Jul 2008 08:42:37 +0000
Subject: #45413 [NEW]: Error in ob_get_clean french example
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-923@lists.php.net to get a copy of this message
From: j at darksage dot fr Operating system: PHP version: Irrelevant PHP Bug Type: Translation problem Bug description: Error in ob_get_clean french example 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 bug report at http://bugs.php.net/?id=45413&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45413&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45413&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45413&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45413&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45413&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45413&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45413&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45413&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45413&r=support Expected behavior: http://bugs.php.net/fix.php?id=45413&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45413&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45413&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45413&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45413&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45413&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45413&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45413&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45413&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45413&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45413&r=mysqlcfg

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