|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-09-24 05:30 UTC] aharvey@php.net
-Status: Open
+Status: Bogus
-Package: Scripting Engine problem
+Package: PCRE related
[2010-09-24 05:30 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 06:00:01 2025 UTC |
Description: ------------ preg_replace() add slashes to double quotes arbitarily. Test script: --------------- echo preg_replace("/(\".*\")/e","'[\\1]'",'"1\"\n2"'); Expected result: ---------------- ["1\"\n2"] Actual result: -------------- [\"1\\"\n2\"]