Home
last modified time | relevance | path

Searched refs:comp_func (Results 1 – 6 of 6) sorted by relevance

/PHP-7.1/ext/standard/tests/array/
H A Darray_intersect_key.phpt22 var_dump(array_intersect_ukey($a_f, $b_f, "comp_func"));// 2, 20, -2500
26 var_dump(array_intersect_ukey($a_f, $d_f, "comp_func"));// -20
31 var_dump(array_intersect_ukey($a_f, $b_f, $d_f, "comp_func"));// -20
34 var_dump(array_intersect_ukey($a_f, $b_f, $c_f, $d_f, "comp_func"));//-20
38 var_dump(array_intersect_ukey($b_f, $c_f, "comp_func"));//0, 2, -20, 2500
41 var_dump(array_intersect_ukey($b_f, $d_f, "comp_func"));// -20
44 var_dump(array_intersect_ukey($b_f, $c_f, $d_f, "comp_func"));// -20
49 var_dump(array_uintersect($a, $b, "comp_func"));
51 var_dump(array_uintersect($a, $b, $c, "comp_func"));
53 var_dump(array_uintersect($a, $b, $c, $d, "comp_func"));
[all …]
H A Darray_diff_key.phpt22 var_dump(array_diff_ukey($a_f, $b_f, "comp_func"));// 1, 6, 15, 1200
26 var_dump(array_diff_ukey($a_f, $c_f, "comp_func"));// 1, 15, 1200
30 var_dump(array_diff_ukey($a_f, $d_f, "comp_func"));// 1, 6, 2, 15, 1200, -2500
34 var_dump(array_diff_ukey($a_f, $b_f, $c_f, "comp_func"));// 1, 15, 1200
38 var_dump(array_diff_ukey($a_f, $b_f, $d_f, "comp_func"));// 1, 6, 15, 1200
43 var_dump(array_diff_ukey($a_f, $b_f, $c_f, $d_f, "comp_func"));//1, 15, 1200
48 var_dump(array_diff_ukey($b_f, $c_f, "comp_func"));//7, 11, 1100
52 var_dump(array_diff_ukey($b_f, $d_f, "comp_func"));//0, 7, 2, 11, 1100, -2500
57 var_dump(array_diff_ukey($b_f, $c_f, $d_f, "comp_func"));// 7, 11, 1000
59 function comp_func($a, $b) {
H A D007.phpt66 function comp_func($a, $b) {
87 var_dump(array_udiff($a, $b, $c, "comp_func"));
88 var_dump(array_diff_uassoc($a,$b,$c, "comp_func"));
101 echo 'var_dump(array_udiff_uassoc($a, $b, "comp_func_cr", "comp_func"));'."\n";
102 var_dump(array_udiff_uassoc($a, $b, "comp_func_cr", "comp_func"));
107 echo 'var_dump(array_udiff_uassoc($a, $b, array("cr", "comp_func_cr"), "comp_func"));'."\n";
108 var_dump(array_udiff_uassoc($a, $b, array("cr", "comp_func_cr"), "comp_func"));
303 var_dump(array_udiff_uassoc($a, $b, "comp_func_cr", "comp_func"));
381 var_dump(array_udiff_uassoc($a, $b, array("cr", "comp_func_cr"), "comp_func"));
H A Darray_intersect_1.phpt19 function comp_func($a, $b) {
53 echo 'var_dump(array_uintersect_uassoc($a, $b, "comp_func_cr", "comp_func"));'."\n";
54 var_dump(array_uintersect_uassoc($a, $b, "comp_func_cr", "comp_func"));
61 echo 'var_dump(array_uintersect_uassoc($a, $b, array("cr", "comp_func_cr"), "comp_func"));'."\n";
62 var_dump(array_uintersect_uassoc($a, $b, array("cr", "comp_func_cr"), "comp_func"));
274 var_dump(array_uintersect_uassoc($a, $b, "comp_func_cr", "comp_func"));
347 var_dump(array_uintersect_uassoc($a, $b, array("cr", "comp_func_cr"), "comp_func"));
/PHP-7.1/Zend/
H A Dzend_llist.h63 ZEND_API void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func);
H A Dzend_llist.c196 ZEND_API void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func) in zend_llist_sort() argument
216 (compare_func_t) comp_func, (swap_func_t) zend_llist_swap); in zend_llist_sort()

Completed in 11 milliseconds