From 00af2cbfb312b1361189621f9aeba23af5a55258 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Wed, 30 Apr 2003 01:12:38 +0000 Subject: [PATCH] Using Philip's suggested text. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125130 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-filter.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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.