preg_replace()&str_replace() escaping a double-quote problem

From: Date: Thu, 31 Jan 2002 16:44:42 +0000
Subject: preg_replace()&str_replace() escaping a double-quote problem
Groups: php.general 
Request: Send a blank email to php-general+get-83106@lists.php.net to get a copy of this message
Any idea why when I print the value of $text, I get a backslash in front of the result. Any of the following: $text=preg_replace("/\"/", """, $text); $text=preg_replace("/\"/", "A", $text); str_replace() also does the same :(

« previous php.general (#83106) next »