php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47144 [FR] mb_substr_count bad exemple in french version
Submitted: 2009-01-19 08:56 UTC Modified: 2009-01-29 22:08 UTC
From: michael at demeyer dot fr Assigned:
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 - 21 = ?
Subscribe to this entry?

 
 [2009-01-19 08:56 UTC] michael at demeyer dot fr
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
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-29 22:08 UTC] yannick@php.net
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.


 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=51e1680e9f66cbadc4cb4127b13775678c695fc0
Log: fix bug #47144
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 10:01:33 2024 UTC