php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #49796 missing str_replace parameter info
Submitted: 2009-10-06 21:05 UTC Modified: 2009-10-16 18:34 UTC
From: dan at DLC2 dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dan at DLC2 dot com
New email:
PHP Version: OS:

 

 [2009-10-06 21:05 UTC] dan at DLC2 dot com
Description:
------------
The page of documentation on the str_replace function looks like there's something missing in the second section, where a box appears for "search" and another box for "replace". Nothing is in those boxes, but it looks like a sample array or listing values should appear in there. I could be wrong, but that's how I see it. - Dan in Orlando

Reproduce code:
---------------
---
From manual page: function.str-replace#Parameters
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-16 18:33 UTC] svn@php.net
Automatic comment from SVN on behalf of philip
Revision: http://svn.php.net/viewvc/?view=revision&revision=289704
Log: - Added parameter descriptions, which closes PHP bug #49796
- Split examples into two: basics and potential gotchas
- Integrated information about multiple replacement gotcha (left to right) via a zillion user notes
- Added example about said gotcha (via michael dot moussa at gmail dot com)
- A few other minor changes
 [2009-10-16 18:34 UTC] philip@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 13:00:02 2026 UTC