summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2003-09-23 17:37:29 +0000
committerAndrey Hristov <andrey@php.net>2003-09-23 17:37:29 +0000
commit3579f212df0d586d40858d938a550d184117a038 (patch)
tree9176efafa7eb1ff5b18e8ae826e039213bb3f9bd /ext/mbstring/php_mbregex.c
parentfce7b92891293a9bdbed304bc733166d1bd22426 (diff)
downloadphp-git-3579f212df0d586d40858d938a550d184117a038.tar.gz
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).
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
0 files changed, 0 insertions, 0 deletions