Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 152) sorted by path

1234567

/PHP-7.4/Zend/tests/
H A Dbug69892.phpt2 Bug #69892: Different arrays compare identical due to integer key truncation
H A Dmethods-on-non-objects-call-user-func.phpt6 var_dump(call_user_func([$comparator, 'compare'], 1, 2));
H A Dmethods-on-non-objects-usort.phpt13 return $comparator->compare($a, $b);
24 string(43) "Call to a member function compare() on null"
26 string(43) "Call to a member function compare() on null"
28 string(43) "Call to a member function compare() on null"
30 string(43) "Call to a member function compare() on null"
H A Druntime_compile_time_binary_operands.phpt110 $compare = "@($op1_p $operator $op2_p)";
114 …$line .= "if (" . ($result === "(NAN)" ? "!is_nan($compare)" : "$compare !== $result") . ") { $err…
120 …$line .= "try { $compare; $error } catch (Error \$e) { if (\$e->getMessage() !== $msg) { $error } …
/PHP-7.4/Zend/
H A Dzend_API.c1879 static void zend_sort_modules(void *base, size_t count, size_t siz, compare_func_t compare, swap_fu… in zend_sort_modules() argument
H A Dzend_llist.c88 ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, v… in zend_llist_del_element()
93 if (compare(current->data, element)) { in zend_llist_del_element()
H A Dzend_llist.h51 ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, v…
H A Dzend_object_handlers.h184 zend_object_compare_zvals_t compare; /* optional */ member
H A Dzend_operators.c2110 if (Z_TYPE_P(op1) == IS_OBJECT && Z_OBJ_HANDLER_P(op1, compare)) { in compare_function()
2111 ret = Z_OBJ_HANDLER_P(op1, compare)(result, op1, op2); in compare_function()
2116 } else if (Z_TYPE_P(op2) == IS_OBJECT && Z_OBJ_HANDLER_P(op2, compare)) { in compare_function()
2117 ret = Z_OBJ_HANDLER_P(op2, compare)(result, op1, op2); in compare_function()
H A Dzend_sort.c26 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare, swap_func_t … in zend_qsort() argument
53 for (; seg1 < seg2 && compare(begin, seg1) > 0; in zend_qsort()
56 for (; seg2 >= seg1 && compare(seg2, begin) > 0; in zend_qsort()
/PHP-7.4/ext/bcmath/
H A Dconfig.m49 libbcmath/src/compare.c libbcmath/src/divmod.c libbcmath/src/int2num.c libbcmath/src/num2long.c lib…
H A Dconfig.w328 outofmem.c raisemod.c sub.c compare.c divmod.c int2num.c \
/PHP-7.4/ext/date/tests/
H A DDateTimeZone_compare_basic1.phpt2 Test of compare object handler for DateTimeZone objects
23 echo "compare $timezone1 with $timezone2\n";
45 compare +0200 with +0200
49 compare +0200 with -0200
53 compare EST with EST
57 compare EST with PST
61 compare Europe/Amsterdam with Europe/Amsterdam
65 compare Europe/Amsterdam with Europe/Berlin
70 Warning: main(): Trying to compare different kinds of DateTimeZone objects in %s on line %d
73 Warning: main(): Trying to compare uninitialized DateTimeZone objects in %s on line %d
H A DDateTime_compare_basic1.phpt2 Test of compare object handler for DateTime objects
6 echo "Simple test for DateTime compare object handler\n";
27 echo "\n-- All the following tests should compare equal --\n";
37 echo "\n-- The following test should still compare equal --\n";
39 echo "\n-- All the following tests should now compare NOT equal --\n";
44 echo "\n-- All the following tests should again compare equal --\n";
54 Simple test for DateTime compare object handler
56 -- All the following tests should compare equal --
65 -- The following test should still compare equal --
68 -- All the following tests should now compare NOT equal --
[all …]
H A Dbug70810.phpt19 Warning: Cannot compare DateInterval objects in %s on line %d
22 Warning: Cannot compare DateInterval objects in %s on line %d
25 Warning: Cannot compare DateInterval objects in %s on line %d
28 Warning: Cannot compare DateInterval objects in %s on line %d
31 Warning: Cannot compare DateInterval objects in %s on line %d
34 Warning: Cannot compare DateInterval objects in %s on line %d
H A Dexamine_diff.inc29 * @param int $expect_days the number of days to compare with the
/PHP-7.4/ext/gmp/
H A Dgmp.c672 gmp_object_handlers.compare = gmp_compare; in ZEND_MINIT_FUNCTION()
/PHP-7.4/ext/intl/collator/
H A Dcollator_class.c102 PHP_NAMED_FE( compare, ZEND_FN( collator_compare ), collator_2_args )
/PHP-7.4/ext/intl/tests/
H A Dbug60192-compare.phpt16 $a = $c->compare('h', 'H');
20 #0 %s(%d): Collator->compare('h', 'H')
H A Dcollator_compare.phpt2 compare()
76 // Try to compare long strings.
H A Dcollator_compare_variant2.phpt2 compare()
76 // Try to compare long strings.
H A Dut_common.inc4 * Then compare the outputs.
52 …return $GLOBALS['oo-mode'] ? $coll->compare( $str1, $str2 ) : collator_compare( $coll, $str1, $str…
/PHP-7.4/ext/intl/timezone/
H A Dtimezone_class.cpp83 if (id.compare(0, 3, UnicodeString("GMT", sizeof("GMT")-1, US_INV)) == 0) { in timezone_convert_to_datetimezone()
/PHP-7.4/ext/mbstring/tests/
H A Dmb_str_split_jp.phpt59 /* compare initial string and last array element after splitting */
H A Dmb_str_split_ru.phpt59 /* compare initial string and last array element after splitting */

Completed in 58 milliseconds

1234567