Home
last modified time | relevance | path

Searched refs:strcasecmp (Results 1 – 25 of 87) sorted by relevance

1234

/PHP-8.3/ext/standard/tests/strings/
H A Dstrcasecmp.phpt2 strcasecmp() function
76 var_dump(strcasecmp($string, $string));
78 var_dump(strcasecmp($string, "&&&"));
83 var_dump(strcasecmp($str, "\0"));
84 var_dump(strcasecmp($str, "0"));
102 var_dump(strcasecmp("\x0", "\0"));
103 var_dump(strcasecmp("\000", "\0"));
104 var_dump(strcasecmp("\x00", ""));
129 - strcasecmp of 'a' and 'a' is => int(0)
357 - strcasecmp of '' and '' is => int(0)
[all …]
/PHP-8.3/Zend/tests/
H A D005.phpt2 strcasecmp() tests
6 var_dump(strcasecmp("", ""));
7 var_dump(strcasecmp("aef", "dfsgbdf"));
8 var_dump(strcasecmp("qwe", "qwer"));
9 var_dump(strcasecmp("qwerty", "QweRty"));
10 var_dump(strcasecmp("qwErtY", "qwerty"));
11 var_dump(strcasecmp("q123", "Q123"));
12 var_dump(strcasecmp("01", "01"));
/PHP-8.3/ext/standard/tests/array/
H A Darray_diff_uassoc_variation13.phpt13 var_dump( array_diff_uassoc($array1, $array2, "strcasecmp") );
14 var_dump( array_diff_uassoc($array2, $array1, "strcasecmp") );
19 var_dump( array_diff_uassoc($array1, $array2, "strcasecmp") );
20 var_dump( array_diff_uassoc($array2, $array1, "strcasecmp") );
25 var_dump( array_diff_uassoc($array1, $array2, "strcasecmp") );
26 var_dump( array_diff_uassoc($array2, $array1, "strcasecmp") );
H A Duasort_variation8.phpt7 * valid comparison functions: strcmp() & strcasecmp()
17 echo "-- Testing uasort() with built-in 'cmp_function': strcasecmp() --\n";
18 var_dump( uasort($builtin_fun_arg, 'strcasecmp') ); // expecting: bool(true)
29 -- Testing uasort() with built-in 'cmp_function': strcasecmp() --
H A Darray_intersect_uassoc_variation8.phpt13 var_dump( array_intersect_uassoc($array1, $array2, "strcasecmp") );
18 var_dump( array_intersect_uassoc($array1, $array2, "strcasecmp") );
23 var_dump( array_intersect_uassoc($array1, $array2, "strcasecmp") );
H A Dusort_variation8.phpt18 echo "\n-- Testing usort() with built-in 'cmp_function': strcasecmp() --\n";
20 var_dump( usort($temp_array1, 'strcasecmp') );
32 -- Testing usort() with built-in 'cmp_function': strcasecmp() --
H A Darray_diff_uassoc_variation11.phpt12 var_dump( array_diff_uassoc($input_array, $boolean_indx_array, "strcasecmp") );
13 var_dump( array_diff_uassoc($boolean_indx_array, $input_array, "strcasecmp") );
H A Darray_diff_uassoc_variation9.phpt18 var_dump( array_diff_uassoc($input_array, $value, "strcasecmp") );
19 var_dump( array_diff_uassoc($value, $input_array, "strcasecmp") );
H A Darray_diff_ukey_variation5.phpt27 var_dump( array_diff_ukey($array1, $array2, 'strcasecmp') );
28 var_dump( array_diff_ukey($array2, $array1, 'strcasecmp') );
H A Darray_diff_uassoc_variation12.phpt22 var_dump( array_diff_uassoc($input_array, $value, "strcasecmp") );
23 var_dump( array_diff_uassoc($value, $input_array, "strcasecmp") );
H A Darray_diff_ukey_variation9.phpt22 var_dump( array_diff_ukey($value, $input_array, 'strcasecmp') );
23 var_dump( array_diff_ukey($input_array, $value, 'strcasecmp') );
H A Darray_intersect_ukey_variation9.phpt14 return strcasecmp($key1, $key2);
18 return strcasecmp($key1, $key2);
H A Darray_intersect_uassoc_variation10.phpt14 return strcasecmp($a, $b);
18 return strcasecmp($a, $b);
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_log.c195 if (format[0] == '\0' || !strcasecmp(format, "total")) { in fpm_log_write()
199 } else if (!strcasecmp(format, "user")) { in fpm_log_write()
203 } else if (!strcasecmp(format, "system")) { in fpm_log_write()
221 if (format[0] == '\0' || !strcasecmp(format, "seconds")) { in fpm_log_write()
227 } else if (!strcasecmp(format, "milliseconds") || !strcasecmp(format, "milli") || in fpm_log_write()
229 !strcasecmp(format, "miliseconds") || !strcasecmp(format, "mili") in fpm_log_write()
236 } else if (!strcasecmp(format, "microseconds") || !strcasecmp(format, "micro")) { in fpm_log_write()
281 if (format[0] == '\0' || !strcasecmp(format, "bytes")) { in fpm_log_write()
287 } else if (!strcasecmp(format, "kilobytes") || !strcasecmp(format, "kilo")) { in fpm_log_write()
293 } else if (!strcasecmp(format, "megabytes") || !strcasecmp(format, "mega")) { in fpm_log_write()
H A Dfpm_events.c261 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
269 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
277 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
285 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
293 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
301 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
/PHP-8.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_language.c57 #define strcasecmp stricmp macro
90 if (strcasecmp(language->name, name) == 0) { in mbfl_name2language()
97 if (strcasecmp(language->short_name, name) == 0) { in mbfl_name2language()
108 if (strcasecmp(language->aliases[j], name) == 0) { in mbfl_name2language()
H A Dmbfl_encoding.c60 #define strcasecmp stricmp macro
152 if (strcasecmp((*encoding)->name, name) == 0) { in mbfl_name2encoding()
160 if (strcasecmp((*encoding)->mime_name, name) == 0) { in mbfl_name2encoding()
170 if (strcasecmp(*alias, name) == 0) { in mbfl_name2encoding()
/PHP-8.3/sapi/apache2handler/
H A Dmod_php.c22 #ifdef strcasecmp
23 # undef strcasecmp
/PHP-8.3/ext/pdo_odbc/
H A Dpdo_odbc.c82 if (strcasecmp(pooling_val, "strict") == 0 || strcmp(pooling_val, "1") == 0) { in PHP_MINIT_FUNCTION()
85 } else if (strcasecmp(pooling_val, "relaxed") == 0) { in PHP_MINIT_FUNCTION()
88 } else if (*pooling_val == '\0' || strcasecmp(pooling_val, "off") == 0) { in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/standard/
H A Dphp_fopen_wrapper.c208 if (!strcasecmp(path, "memory")) { in php_stream_url_wrap_php()
213 if (!strcasecmp(path, "output")) { in php_stream_url_wrap_php()
217 if (!strcasecmp(path, "input")) { in php_stream_url_wrap_php()
238 if (!strcasecmp(path, "stdin")) { in php_stream_url_wrap_php()
260 } else if (!strcasecmp(path, "stdout")) { in php_stream_url_wrap_php()
276 } else if (!strcasecmp(path, "stderr")) { in php_stream_url_wrap_php()
/PHP-8.3/ext/oci8/tests/
H A Dcalltimeout1.phpt11 if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
H A Ddb_op_1.phpt10 if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
/PHP-8.3/Zend/
H A Dzend_config.w32.h48 #define strcasecmp(s1, s2) _stricmp(s1, s2) macro
/PHP-8.3/ext/sodium/tests/
H A Dcrypto_hex.phpt10 var_dump(strcasecmp($hex, $phphex));
/PHP-8.3/ext/pdo_oci/tests/
H A Dpdo_oci_attr_call_timeout.phpt11 if (strcasecmp(getenv('PDOTEST_USER'), "system") && strcasecmp(getenv('PDOTEST_USER'), "sys")) {

Completed in 27 milliseconds

1234