#36033 [Opn->Csd]: Mistake in the french documentation for ereg function
| From: | jsgoupil@php.net | Date: | Mon, 16 Jan 2006 22:12:41 +0000 |
| Subject: | #36033 [Opn->Csd]: Mistake in the french documentation for ereg function | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969371629@lists.php.net to get a copy of this message | ||
ID: 36033
Updated by: jsgoupil@php.net
Reported By: romain dot moyne at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: UNIX
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.
+ Correction de "les version_" et si il -> s'il
Merci
Previous Comments:
------------------------------------------------------------------------
[2006-01-16 15:41:14] romain dot moyne at gmail dot com
Description:
------------
There is a mistake in the French documentation about the ereg function.
See below for more details
Reproduce code:
---------------
There is a mistake in the French documentation about the ereg
function.
You say:
Note : Pour les version de PHP !!!supérieures!!! ou égales à 4.1.0,
$regs sera rempli d'exactement dix éléments, même si il y a plus ou
moins de dix parenthèses capturantes. Cela n'a aucun effet sur ereg()
pour chercher plus de sous-chaînes. Si aucun résultat n'est trouvé,
$regs ne sera pas altéré par ereg().
It's false. I managed to have more than 10 elements in $regs.
So I looked for in the English Documentation and I found that it's a
translation mistake.
The true version of french documentation would like to this:
Note : Pour les version de PHP !!!inférieures!!! ou égales à 4.1.0,
$regs sera rempli d'exactement dix éléments, même si il y a plus ou
moins de dix parenthèses capturantes. Cela n'a aucun effet sur ereg()
pour chercher plus de sous-chaînes. Si aucun résultat n'est trouvé,
$regs ne sera pas altéré par ereg().
Expected result:
----------------
None
Actual result:
--------------
None
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36033&edit=1