php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53678 Formatting Suggestion: "count" parameter
Submitted: 2011-01-06 22:01 UTC Modified: 2011-01-07 04:39 UTC
From: jballard at natoga dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Kubuntu
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: jballard at natoga dot com
New email:
PHP Version: OS:

 

 [2011-01-06 22:01 UTC] jballard at natoga dot com
Description:
------------
---
From manual page: http://www.php.net/function.str-replace#Parameters
---

The parameter "count" on the str-replace documentation page is currently a "note" 
format (shown with the "note:" text). To be persistent with other optional fields 
(such as fields from mysql_connect) this parameter's documentation should be a 
regular parameter format, not a note format.

Expected result:
----------------
The expected format is a regular parameter format stating:

"If passed, this will hold the number of matched and replaced needles."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-07 04:25 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Package: Unknown/Other Function +Package: Documentation problem -Assigned To: +Assigned To: aharvey
 [2011-01-07 04:25 UTC] aharvey@php.net
Yeah, that's a bit odd. :)
 [2011-01-07 04:39 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=307205
Log: Fix doc bug #53678 (Formatting Suggestion: "count" parameter). Also fix up the
str_ireplace() manual page, which seems to have lost paragraphs here and there
for some reason, by copying verbiage across from the str_replace() page and
changing it as required, and fix a grammatical error in the paragraph about
using arrays as search and replacement values.
 [2011-01-07 04:39 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2011-01-07 04:39 UTC] aharvey@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 06:00:01 2026 UTC