#36033 [NEW]: Mistake in the french documentation for ereg function
| From: | romain dot moyne at gmail dot com | Date: | Mon, 16 Jan 2006 14:41:15 +0000 |
| Subject: | #36033 [NEW]: Mistake in the french documentation for ereg function | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969371621@lists.php.net to get a copy of this message | ||
From: romain dot moyne at gmail dot com
Operating system: UNIX
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Mistake in the french documentation for ereg function
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 bug report at http://bugs.php.net/?id=36033&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36033&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36033&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36033&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36033&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36033&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36033&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36033&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36033&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36033&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36033&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36033&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36033&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36033&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36033&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36033&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36033&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36033&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36033&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36033&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36033&r=mysqlcfg