Should these functions really go into the core?
Perhaps they are better off in an extension (pecl/array_utils ?)

The names aren't really all that obvious to me either.

--Wez.

----- Original Message ----- 
From: "Andrey Hristov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 6:37 PM
Subject: [PHP-CVS] cvs: php-src /ext/standard array.c basic_functions.c
php_array.h


> andrey Tue Sep 23 13:37:29 2003 EDT
>
>   Modified files:
>     /php-src/ext/standard array.c basic_functions.c php_array.h
>   Log:
>   4 new functions :
>   array_udiff()
>   array_udiff_assoc()
>   array_diff_uassoc()
>   array_udiff_uassoc()
>   They work like array_diff() or array_diff_assoc() but callback
function(s)
>   can be used to perform the comparisons. For example array_udiff_uassoc()
>   expects 2 callbacks are last 2 parameters one is used to compare the
values
>   of the entries in the arrays the second to compare the keys.
>   Class methods are also valid callbacks. Even when the data that should
be
>   used in the comparison is private or protected then a static method of a
>   class should be used (this behaviour can be seen in the regression
test -
>   007.phpt).

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to