Home
last modified time | relevance | path

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

12345

/PHP-8.0/ext/standard/tests/strings/
H A Dstrcasecmp.phpt2 strcasecmp() function
85 var_dump(strcasecmp($str, "0"));
135 - strcasecmp of 'a' and '�' is => int(%d)
142 - strcasecmp of 'A' and '�' is => int(%d)
149 - strcasecmp of '�' and '�' is => int(%d)
156 - strcasecmp of '�' and '�' is => int(%d)
159 - strcasecmp of '�' and 'a' is => int(-%d)
160 - strcasecmp of '�' and 'A' is => int(-%d)
161 - strcasecmp of '�' and '�' is => int(-%d)
162 - strcasecmp of '�' and '�' is => int(-%d)
[all …]
/PHP-8.0/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.0/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_variation10.phpt12 var_dump( array_diff_uassoc($input_array, $float_indx_array, "strcasecmp") );
13 var_dump( array_diff_uassoc($float_indx_array, $input_array, "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.0/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.c108 #define strcasecmp stricmp macro
215 if (strcasecmp(encoding->name, name) == 0) { in mbfl_name2encoding()
224 if (strcasecmp(encoding->mime_name, name) == 0) { in mbfl_name2encoding()
236 if (strcasecmp((*encoding->aliases)[j], name) == 0) { in mbfl_name2encoding()
/PHP-8.0/ext/readline/
H A Dreadline.c180 if (!strcasecmp(what,"line_buffer")) { in PHP_FUNCTION()
190 } else if (!strcasecmp(what, "point")) { in PHP_FUNCTION()
193 } else if (!strcasecmp(what, "end")) { in PHP_FUNCTION()
197 } else if (!strcasecmp(what, "mark")) { in PHP_FUNCTION()
199 } else if (!strcasecmp(what, "done")) { in PHP_FUNCTION()
205 } else if (!strcasecmp(what, "pending_input")) { in PHP_FUNCTION()
214 } else if (!strcasecmp(what, "prompt")) { in PHP_FUNCTION()
216 } else if (!strcasecmp(what, "terminal_name")) { in PHP_FUNCTION()
236 } else if (!strcasecmp(what, "erase_empty_line")) { in PHP_FUNCTION()
244 } else if (!strcasecmp(what,"library_version")) { in PHP_FUNCTION()
[all …]
/PHP-8.0/sapi/apache2handler/
H A Dmod_php.c22 #ifdef strcasecmp
23 # undef strcasecmp
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_log.c177 if (format[0] == '\0' || !strcasecmp(format, "total")) { in fpm_log_write()
181 } else if (!strcasecmp(format, "user")) { in fpm_log_write()
185 } else if (!strcasecmp(format, "system")) { in fpm_log_write()
203 if (format[0] == '\0' || !strcasecmp(format, "seconds")) { in fpm_log_write()
209 } else if (!strcasecmp(format, "miliseconds") || !strcasecmp(format, "mili")) { in fpm_log_write()
215 } else if (!strcasecmp(format, "microseconds") || !strcasecmp(format, "micro")) { in fpm_log_write()
260 if (format[0] == '\0' || !strcasecmp(format, "bytes")) { in fpm_log_write()
266 } else if (!strcasecmp(format, "kilobytes") || !strcasecmp(format, "kilo")) { in fpm_log_write()
272 } else if (!strcasecmp(format, "megabytes") || !strcasecmp(format, "mega")) { in fpm_log_write()
H A Dfpm_conf.c332 } else if (!strcasecmp(val, "warning") || !strcasecmp(val, "warn")) { in fpm_conf_set_log_level()
354 if (!strcasecmp(val, "AUTH")) { in fpm_conf_set_syslog_facility()
368 if (!strcasecmp(val, "CRON")) { in fpm_conf_set_syslog_facility()
382 if (!strcasecmp(val, "FTP")) { in fpm_conf_set_syslog_facility()
389 if (!strcasecmp(val, "KERN")) { in fpm_conf_set_syslog_facility()
396 if (!strcasecmp(val, "LPR")) { in fpm_conf_set_syslog_facility()
403 if (!strcasecmp(val, "MAIL")) { in fpm_conf_set_syslog_facility()
410 if (!strcasecmp(val, "NEWS")) { in fpm_conf_set_syslog_facility()
424 if (!strcasecmp(val, "USER")) { in fpm_conf_set_syslog_facility()
431 if (!strcasecmp(val, "UUCP")) { in fpm_conf_set_syslog_facility()
[all …]
H A Dfpm_events.c261 if (!machanism || strcasecmp(module->name, machanism) == 0) { in fpm_event_pre_init()
269 if (!machanism || strcasecmp(module->name, machanism) == 0) { in fpm_event_pre_init()
277 if (!machanism || strcasecmp(module->name, machanism) == 0) { in fpm_event_pre_init()
285 if (!machanism || strcasecmp(module->name, machanism) == 0) { in fpm_event_pre_init()
293 if (!machanism || strcasecmp(module->name, machanism) == 0) { in fpm_event_pre_init()
301 if (!machanism || strcasecmp(module->name, machanism) == 0) { in fpm_event_pre_init()
/PHP-8.0/ext/pdo_odbc/
H A Dpdo_odbc.c81 if (strcasecmp(pooling_val, "strict") == 0 || strcmp(pooling_val, "1") == 0) { in PHP_MINIT_FUNCTION()
84 } else if (strcasecmp(pooling_val, "relaxed") == 0) { in PHP_MINIT_FUNCTION()
87 } else if (*pooling_val == '\0' || strcasecmp(pooling_val, "off") == 0) { in PHP_MINIT_FUNCTION()
/PHP-8.0/ext/standard/
H A Ddns_win32.c114 if (!strcasecmp("A", rectype)) type = DNS_TYPE_A; in PHP_FUNCTION()
115 else if (!strcasecmp("NS", rectype)) type = DNS_TYPE_NS; in PHP_FUNCTION()
116 else if (!strcasecmp("MX", rectype)) type = DNS_TYPE_MX; in PHP_FUNCTION()
117 else if (!strcasecmp("PTR", rectype)) type = DNS_TYPE_PTR; in PHP_FUNCTION()
118 else if (!strcasecmp("ANY", rectype)) type = DNS_TYPE_ANY; in PHP_FUNCTION()
119 else if (!strcasecmp("SOA", rectype)) type = DNS_TYPE_SOA; in PHP_FUNCTION()
120 else if (!strcasecmp("TXT", rectype)) type = DNS_TYPE_TEXT; in PHP_FUNCTION()
121 else if (!strcasecmp("CNAME", rectype)) type = DNS_TYPE_CNAME; in PHP_FUNCTION()
122 else if (!strcasecmp("AAAA", rectype)) type = DNS_TYPE_AAAA; in PHP_FUNCTION()
123 else if (!strcasecmp("SRV", rectype)) type = DNS_TYPE_SRV; in PHP_FUNCTION()
[all …]
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.0/ext/oci8/tests/
H A Dcalltimeout1.phpt9 if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {

Completed in 36 milliseconds

12345