php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49751 [FR] problem in the text of the doc
Submitted: 2009-10-02 15:48 UTC Modified: 2009-11-07 08:52 UTC
From: someoneinthe at free dot fr Assigned:
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: NA
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: someoneinthe at free dot fr
New email:
PHP Version: OS:

 

 [2009-10-02 15:48 UTC] someoneinthe at free dot fr
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  ] )


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-07 08:52 UTC] svn@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&revision=290384
Log: Fix bug #49799 - bug #49751 - sync with EN
 [2009-11-07 08:52 UTC] yannick@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.


 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=2ff34cec4e6d439e1b295641f66992049600abe8
Log: Fix bug #49799 - bug #49751 - sync with EN
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 16:01:36 2024 UTC