php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1391 str_replace() doesn't work in 3.0.7
Submitted: 1999-05-08 00:29 UTC Modified: 1999-05-11 07:58 UTC
From: vip_m at yahoo dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.7 OS: Linux Slackware 3.5
Private report: No CVE-ID: None
 [1999-05-08 00:29 UTC] vip_m at yahoo dot com
I use str_replace() a lot in the stuff I'm doing--is it true it no longer works in 3.0.7 and it only works in 3.0.6 (according to your on-line manual--use your quick ref button and search for str_replace)? If so, is there a work-around or replacement function?

Also, when someone inputs text into a blob/text field in versions before 3.0.6, the quotes and double quotes show up with backslashes, e.g., \' or \"

Text output is okay with 3.0.6 though.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-11 07:58 UTC] sas at cvs dot php dot net
Fixed in CVS. Hold your breath for PHP 3.0.8.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 03:00:02 2026 UTC