Re: cvs: php-src /ext/standard array.c basic_functions.c php_array.h
| From: | Jani Taskinen | Date: | Fri, 26 Sep 2003 09:59:24 +0000 |
| Subject: | Re: cvs: php-src /ext/standard array.c basic_functions.c php_array.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-23902@lists.php.net to get a copy of this message | ||
Still waiting for the documentation for these..and also
where are the NEWS entries?
--Jani
On Tue, 23 Sep 2003, Andrey Hristov wrote:
>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).
>
>