diff --git a/functions/array.xml b/functions/array.xml index 992a3b5c8b..21146ef2a4 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1548,12 +1548,16 @@ function array_values ($arr) { - Applies the function named by func to each - element of arr. + Applies the user-defined function named by func + to each element of arr. func will be passed array value as the first parameter and array key as the second parameter. If userdata is supplied, it will be passed as - the third parameter to the user function. + the third parameter to the user function. func + must be a user-defined function, and can't be a native PHP function. + Thus, you can't use array_walk straight with + str2lower, you must build a user-defined function + with it first, and pass this function as argument. If func requires more than two or three