/PHP-7.4/ext/standard/ |
H A D | versioning.c | 129 int compare = 0; in php_version_compare() local 173 if (compare != 0) { in php_version_compare() 183 if (compare == 0) { in php_version_compare() 186 compare = 1; in php_version_compare() 192 compare = -1; in php_version_compare() 200 return compare; in php_version_compare() 211 int compare; in PHP_FUNCTION() local 222 RETURN_LONG(compare); in PHP_FUNCTION() 228 RETURN_BOOL(compare != 1); in PHP_FUNCTION() 231 RETURN_BOOL(compare == 1); in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/date/tests/ |
H A D | DateTimeZone_compare_basic1.phpt | 2 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 D | DateTime_compare_basic1.phpt | 2 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 D | bug70810.phpt | 19 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
|
/PHP-7.4/ext/spl/tests/ |
H A D | heap_011.phpt | 2 SPL: SplHeap with overriden compare() 6 public function compare($a, $b) { 7 return -parent::compare($a,$b); 18 public function compare($a, $b) { 19 return -parent::compare($a,$b);
|
H A D | pqueue_compare_basic.phpt | 2 SPL: SplPriorityQueue: test compare 9 var_dump($h->compare(4, 5) < 0); 10 var_dump($h->compare(5, 5) == 0); 11 var_dump($h->compare(5, 4) > 0);
|
H A D | bug69737.phpt | 2 Bug #69737 (Segfault when SplMinHeap::compare produces fatal error) 6 public function compare($a, $b) { 18 #0 [internal function]: SplMinHeap1->compare(1, 6)
|
H A D | heap_top_variation_002.phpt | 8 // override heap to force corruption by throwing exception in compare 10 public function compare($a, $b) { 17 // insert 2 elements to hit our overridden compare
|
H A D | SplHeap_with_by_reference_compare.phpt | 2 SplHeap using a compare function returning by-reference 6 public function &compare($a, $b) {
|
H A D | spl_pq_top_error_corrupt.phpt | 11 public function compare($a, $b){ 15 return parent::compare($a, $b);
|
H A D | heap_corruption.phpt | 2 SPL: SplHeap - heap corruption via compare exception (with top element deletion) 13 public function compare($v1, $v2)
|
/PHP-7.4/Zend/tests/ |
H A D | methods-on-non-objects-usort.phpt | 13 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 D | runtime_compile_time_binary_operands.phpt | 110 $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 } …
|
H A D | bug69892.phpt | 2 Bug #69892: Different arrays compare identical due to integer key truncation
|
/PHP-7.4/tests/lang/ |
H A D | compare_objects_basic1.phpt | 2 Test standard 'compare' object handler 6 echo "Simple test for standard compare object handler\n"; 26 // Define a bunch of objects all of which will use standard compare object handler 33 echo "\n-- The following compare should return TRUE --\n"; 47 Simple test for standard compare object handler 49 -- The following compare should return TRUE --
|
H A D | compare_objects_basic2.phpt | 2 Test object compare when object handler different 9 echo "Simple test comparing two objects with different compare callback handler\n"; 21 Simple test comparing two objects with different compare callback handler
|
/PHP-7.4/main/ |
H A D | php_scandir.c | 54 …dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct di… in php_scandir() 107 if (compare) { in php_scandir() 108 …qsort (*namelist, nfiles, sizeof(struct dirent *), (int (*) (const void *, const void *)) compare); in php_scandir()
|
H A D | php_scandir.h | 39 …dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct di…
|
/PHP-7.4/ext/intl/tests/ |
H A D | bug60192-compare.phpt | 16 $a = $c->compare('h', 'H'); 20 #0 %s(%d): Collator->compare('h', 'H')
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | stat_variation1-win32-mb.phpt | 42 // compare the self stat 46 // compare the two stats 61 // compare self stats 65 // compare the two stats
|
H A D | stat_variation1-win32.phpt | 42 // compare the self stat 46 // compare the two stats 61 // compare self stats 65 // compare the two stats
|
H A D | stat_variation3-win32.phpt | 39 // compare self stats 42 // compare the stats 54 // compare self stats 56 // compare the stats
|
H A D | stat_variation4-win32.phpt | 43 // compare self stats 46 // compare the stat 61 // compare self stats 64 // compare the stat
|
H A D | stat_variation6-win32.phpt | 41 // compare self stats 44 // compare the stat 58 // compare self stats 61 // compare the stat
|
H A D | lstat_stat_variation17.phpt | 35 // compare self stats 38 // compare the stat
|