Re: str_ireplace() for php4?



Toby Inkster wrote:
What if $str contained "\1"?


You probably mean "\\1", which will contain pattern matches grouped by
parenthesis, but these will be ignored as preg_quote is used to escape the
parenthesis when occurring in $needle.


JW


.