#45476 [Opn->Csd]: Translation error in an example
| From: | jsgoupil@php.net | Date: | Sun, 13 Jul 2008 11:27:20 +0000 |
| Subject: | #45476 [Opn->Csd]: Translation error in an example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-944@lists.php.net to get a copy of this message | ||
ID: 45476
Updated by: jsgoupil@php.net
Reported By: bizoua_p at epitech dot net
-Status: Open
+Status: Closed
Bug Type: Translation problem
Operating System: All
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.
I fixed also some errors in the index of the second array
Previous Comments:
------------------------------------------------------------------------
[2008-07-10 12:38:12] bizoua_p at epitech dot net
Description:
------------
There is a exemple error in the french translation of the
str_word_count page.
> http://fr.php.net/manual/fr/function.str-word-count.php
Reproduce code:
---------------
<?php
$str = "Salut l'ami, vous
avez une b3lle mine !"; // << 3
print_r(str_word_count($str, 1));
print_r(str_word_count($str, 2));
print_r(str_word_count($str, 1, 'àáãç3')); // << 3
echo str_word_count($str);
?>
Expected result:
----------------
Array
(
[0] => Salut
[1] => l'ami
[2] => vous
[3] => avez
[4] => une
[5] => belle << belle << b3lle
[6] => mine
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45476&edit=1