|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-28 10:06 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
Description: ------------ It is impossible put in the replacement parameter, on ereg_replace function, one literal text of this format: \digit, e.g, \1, because the substrings replacements have preference. It, for me, is interesting when preparing string substituitions previously, with the ereg_replace function. Reproduce code: --------------- echo ereg_replace("a", "\\\\0", "bbabb"); Expected result: ---------------- bb\0bb Actual result: -------------- bbabb