ID: 36033 Updated by: [EMAIL PROTECTED] 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