php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36033 Mistake in the french documentation for ereg function
Submitted: 2006-01-16 15:41 UTC Modified: 2006-01-16 23:12 UTC
From: romain dot moyne at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: UNIX
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: romain dot moyne at gmail dot com
New email:
PHP Version: OS:

 

 [2006-01-16 15:41 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-16 23:12 UTC] jsgoupil@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.

+ Correction de "les version_" et si il -> s'il

Merci
 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of jsgoupil
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=1147c611358cbb9b311bbb3c4e1df113d97aa11e
Log: fix #36033 + other typo
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 17:00:03 2025 UTC