Re: cvs: php-src /ext/standard array.c basic_functions.c php_array.h

From: Date: Fri, 26 Sep 2003 18:26:20 +0000
Subject: Re: cvs: php-src /ext/standard array.c basic_functions.c php_array.h
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23922@lists.php.net to get a copy of this message
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).


« previous php.cvs (#23922) next »