#47144 [NEW]: mb_substr_count bad exemple in french version

From: Date: Mon, 19 Jan 2009 08:56:29 +0000
Subject: #47144 [NEW]: mb_substr_count bad exemple in french version
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1732@lists.php.net to get a copy of this message
From:             michael at demeyer dot fr
Operating system: 
PHP version:      Irrelevant
PHP Bug Type:     Translation problem
Bug description:  mb_substr_count bad exemple in french version

Description:
------------
The french version of 'mb_substr_count' manual use the following exemple
:
<?php
echo mb_substr_count("Ceci est un test", "is"); // affiche 2
?>

which is not correct. The correct version can be something like that :

<?php
echo mb_substr_count("Ceci est un test", "es"); // affiche 2
?>


-- 
Edit bug report at http://bugs.php.net/?id=47144&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        http://bugs.php.net/fix.php?id=47144&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        http://bugs.php.net/fix.php?id=47144&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        http://bugs.php.net/fix.php?id=47144&r=trysnapshot60
Fixed in CVS:                        http://bugs.php.net/fix.php?id=47144&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47144&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=47144&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=47144&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=47144&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=47144&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=47144&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=47144&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=47144&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=47144&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=47144&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47144&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47144&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=47144&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=47144&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=47144&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=47144&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=47144&r=mysqlcfg



Thread (2 messages)

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