Hey,
while I do like the two prototypes for String.replace() it's actually an issue to properly document these two methods. I think it would be better to split them into two methods.
String.replace($search, $replacement) and
String.replaceMap(array $replacementMap)
While I'm not sure about the replaceMap method name. Suggestions are welcome.
gossi
Hey,
while I do like the two prototypes for String.replace() it's actually an issue to properly document these two methods. I think it would be better to split them into two methods.
String.replace($search, $replacement)andString.replaceMap(array $replacementMap)While I'm not sure about the
replaceMapmethod name. Suggestions are welcome.gossi