I will work on the documentation next week and will add a news entry soon.


Andrey

Jani Taskinen wrote:

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).









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



Reply via email to