- Member | 1
Filter:replace is missing $count argument, that was added to str_replace in
Filter:replaceRe is missing $limit argument and $count argument added to preg_replace in PHP 5.1.0
Programmer used to $count and/or $limit arguments should be able to use these in helpers same way as in functions. It allows one to replace only single or N found occurences of text.
Ex. Replace only first line in address by <strong>first line</strong>