diff --git a/functions/array.xml b/functions/array.xml index 06fa59b2af..8d5018f68a 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1,5 +1,5 @@ - + Array Functions Arrays @@ -221,7 +221,7 @@ Array By setting the optional preserve_keys parameter to &true;, you can force PHP to preserve the original keys from the input array. If you specify &false; new number - indicies will be used in each resulting array with + indices will be used in each resulting array with indices starting from zero. The default is &false;. @@ -366,7 +366,7 @@ $result = array_diff ($array1, $array2); This makes $result have - array ("blue");. Multiple occurences in + array ("blue");. Multiple occurrences in $array1 are all treated the same way. @@ -494,7 +494,7 @@ Array flipped. - If a value has several occurences, the latest key will be + If a value has several occurrences, the latest key will be used as its values, and all others will be lost. @@ -1208,7 +1208,7 @@ Array No two sorting flags of the same type can be specified after each - array. The sortings flags specified after an array argument apply + array. The sorting flags specified after an array argument apply only to that array - they are reset to default SORT_ASC and SORT_REGULAR after before each new array argument. @@ -1583,8 +1583,8 @@ Array array_reduce applies iteratively the callback function to the elements of the array input, so as to reduce the array to - a single value. If the optional intial is - avaliable, it will be used at the beginning of the process, or as + a single value. If the optional initial is + available, it will be used at the beginning of the process, or as a final result in case the array is empty. @@ -3280,7 +3280,7 @@ Array regular computer string sorting algorithms. - For more infomation see: Martin Pool's Natural Order String Comparison page.