diff --git a/reference/array/functions/array-filter.xml b/reference/array/functions/array-filter.xml index 55c3d00599..f437b442b3 100644 --- a/reference/array/functions/array-filter.xml +++ b/reference/array/functions/array-filter.xml @@ -1,5 +1,5 @@ - + @@ -16,11 +16,12 @@ callbackfunction - array_filter returns an array - containing all the elements of input - filtered according a callback function. If the - input is an associative array - the keys are preserved. + array_filter iterates over each value in + the input array passing them to the + callback function. If the + callback function returns true, the current + value from input is returned into the + result array. Array keys are preserved.