Searched refs:substr_compare (Results 1 – 14 of 14) sorted by relevance
/PHP-7.2/ext/standard/tests/strings/ |
H A D | substr_compare.phpt | 2 substr_compare() 6 var_dump(substr_compare("abcde", "df", -2) < 0); 7 var_dump(substr_compare("abcde", "bc", 1, 2)); 8 var_dump(substr_compare("abcde", "bcg", 1, 2)); 9 var_dump(substr_compare("abcde", "BC", 1, 2, true)); 10 var_dump(substr_compare("abcde", "bc", 1, 3) > 0); 11 var_dump(substr_compare("abcde", "cd", 1, 2) < 0); 12 var_dump(substr_compare("abcde", "abc", 5, 1)); 13 var_dump(substr_compare("abcde", "abcdef", -10, 10) < 0); 14 var_dump(substr_compare("abcde", "abc", 0, 0)); [all …]
|
H A D | bug77853.phpt | 2 Bug #77853: Inconsistent substr_compare behaviour with empty haystack 6 var_dump(substr_compare('', '', 0, 0)); 7 var_dump(substr_compare('', '', 0)); 9 var_dump(substr_compare('abc', '', 3, 0)); 10 var_dump(substr_compare('abc', '', 3)); 12 var_dump(substr_compare('abc', "\0", 3));
|
H A D | bug55451.phpt | 2 Bug #55451 (substr_compare with NULL as default length) 5 var_dump(substr_compare("abcde", "ABCD", 0, NULL, false) != 0); 6 var_dump(substr_compare("abcde", "ABCD", 0, NULL, true) != 0); 7 var_dump(substr_compare("abcde", "ABCDE", 0, NULL, false) != 0); 8 var_dump(substr_compare("abcde", "ABCDE", 0, NULL, true) == 0);
|
H A D | bug33605.phpt | 2 Bug #33605 (substr_compare crashes) 5 $res = substr_compare("aa", "a", -99999999, -1, 0); 10 Warning: substr_compare(): The length must be greater than or equal to zero in %s on line %d
|
H A D | bug54454.phpt | 2 Bug #54454 (substr_compare incorrectly reports equality in some cases) 5 var_dump(substr_compare('/', '/asd', 0, 4));
|
H A D | bug40754.phpt | 15 var_dump(substr_compare("abcde", "abc", $v, $v)); 38 Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
|
/PHP-7.2/ext/pcre/ |
H A D | upgrade-pcre.php | 40 @substr_compare($file, '.lo', -3, 3) === 0 || 41 @substr_compare($file, '.loT', -4, 4) === 0 || 42 @substr_compare($file, '.o', -2, 2) === 0) continue;
|
/PHP-7.2/ext/imap/tests/ |
H A D | clean.inc | 18 && substr_compare($match[1], $mailbox_prefix, 0, strlen($mailbox_prefix)) == 0) {
|
/PHP-7.2/scripts/dev/ |
H A D | check_parameters.php | 311 if (substr_compare($file, '.c', -2) && substr_compare($file, '.cpp', -4)) continue;
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 95 PHP_FUNCTION(substr_compare);
|
H A D | basic_functions.c | 2784 PHP_FE(substr_compare, arginfo_substr_compare)
|
H A D | string.c | 5733 PHP_FUNCTION(substr_compare) argument
|
/PHP-7.2/ |
H A D | .gitattributes | 113 /ext/standard/tests/strings/substr_compare.phpt -crlf
|
H A D | NEWS | 461 . Fixed bug #77853 (Inconsistent substr_compare behaviour with empty 3074 . Fixed bug #55451 (substr_compare NULL length interpreted as 0). (Lauri
|
Completed in 46 milliseconds