diff --git a/reference/pcre/functions/preg-replace.xml b/reference/pcre/functions/preg-replace.xml index 2ea870c7e9..64c572e83f 100644 --- a/reference/pcre/functions/preg-replace.xml +++ b/reference/pcre/functions/preg-replace.xml @@ -1,5 +1,5 @@ - + @@ -76,12 +76,12 @@ April1,2003 Every parameter to preg_replace (except - limit) can be an array. When using arrays with - pattern and replacement, - the keys are processed in the order they appear in the array. This is - not necessarily the same as the numerical index - order. If you use indexes to identify which - pattern should be replaced by which + limit) can be an unidimensional array. + When using arrays with pattern and + replacement, the keys are processed in the order + they appear in the array. This is not necessarily + the same as the numerical index order. If you use indexes to identify + which pattern should be replaced by which replacement, you should perform a ksort on each array prior to calling preg_replace.