#49751 [NEW]: problem in the text of the doc
| From: | someoneinthe at free dot fr | Date: | Fri, 02 Oct 2009 15:48:36 +0000 |
| Subject: | #49751 [NEW]: problem in the text of the doc | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-2862@lists.php.net to get a copy of this message | ||
From: someoneinthe at free dot fr
Operating system: NA
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: problem in the text of the doc
Description:
------------
in the doc in french, for "str_replace", you say for the count parameter:
Note: Si fourni, contiendra le nombre de recherches et d'occurrences à
remplacer.
it's wrong, the right sentence is :
Le nombre de remplacement sera retourné dans le paramètre count, passé par
référence.
description of the bug in english:
you say for the count parameter of the function that the user will specify
the number of elements to be replaced.
in fact, it's the number of elements wich are replaced by the function
that is returned by the function, and not a input parameter.
if my description of the error isn't clear for you, ask me, i'll try to
describe you the problem by other words.
thanks
F Casset
Reproduce code:
---------------
---
From manual page: function.str-replace#Liste de paramètres
---
mixed str_replace ( mixed $search , mixed $replace , mixed $subject [,
int &$count ] )
--
Edit bug report at http://bugs.php.net/?id=49751&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49751&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49751&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49751&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49751&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49751&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49751&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49751&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49751&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49751&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49751&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49751&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49751&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49751&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49751&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49751&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49751&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49751&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49751&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49751&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49751&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49751&r=mysqlcfg