Home
last modified time | relevance | path

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

123

/php-src/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-src/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-src/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 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 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);
H A Darray_diff_ukey_variation8.phpt13 return strcasecmp($key1, $key2);
/php-src/sapi/fpm/fpm/
H A Dfpm_log.c191 if (format[0] == '\0' || !strcasecmp(format, "total")) { in fpm_log_write()
195 } else if (!strcasecmp(format, "user")) { in fpm_log_write()
199 } else if (!strcasecmp(format, "system")) { in fpm_log_write()
217 if (format[0] == '\0' || !strcasecmp(format, "seconds")) { in fpm_log_write()
223 } else if (!strcasecmp(format, "milliseconds") || !strcasecmp(format, "milli") || in fpm_log_write()
225 !strcasecmp(format, "miliseconds") || !strcasecmp(format, "mili") in fpm_log_write()
232 } else if (!strcasecmp(format, "microseconds") || !strcasecmp(format, "micro")) { in fpm_log_write()
277 if (format[0] == '\0' || !strcasecmp(format, "bytes")) { in fpm_log_write()
283 } else if (!strcasecmp(format, "kilobytes") || !strcasecmp(format, "kilo")) { in fpm_log_write()
289 } else if (!strcasecmp(format, "megabytes") || !strcasecmp(format, "mega")) { in fpm_log_write()
H A Dfpm_events.c260 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
268 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
276 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
284 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
292 if (!mechanism || strcasecmp(module->name, mechanism) == 0) { in fpm_event_pre_init()
/php-src/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()
/php-src/sapi/apache2handler/
H A Dmod_php.c22 #ifdef strcasecmp
23 # undef strcasecmp
H A Dapache_config.c20 #ifdef strcasecmp
21 # undef strcasecmp
93 if (!strcasecmp(arg2, "On") || (arg2[0] == '1' && arg2[1] == '\0')) { in real_flag_hnd()
/php-src/ext/standard/tests/array/sort/
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 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() --
/php-src/ext/pdo_odbc/
H A Dpdo_odbc.c84 if (strcasecmp(pooling_val, "strict") == 0 || strcmp(pooling_val, "1") == 0) { in PHP_MINIT_FUNCTION()
87 } else if (strcasecmp(pooling_val, "relaxed") == 0) { in PHP_MINIT_FUNCTION()
90 } else if (*pooling_val == '\0' || strcasecmp(pooling_val, "off") == 0) { in PHP_MINIT_FUNCTION()
/php-src/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-src/Zend/
H A Dzend_config.w32.h44 #define strcasecmp(s1, s2) _stricmp(s1, s2) macro
/php-src/ext/sodium/tests/
H A Dcrypto_hex.phpt10 var_dump(strcasecmp($hex, $phphex));
/php-src/scripts/dev/
H A Dfind_tested.php56 if (strcasecmp($extension_name, $method_record[EXTENSION_NAME]) == 0) {
93 if (strcasecmp($tested_function, $current_method_record[METHOD_NAME]) == 0) {
/php-src/ext/pdo_firebird/
H A Dfirebird_driver.c331 if (!strcasecmp(ident, "EXECUTE")) in php_firebird_preprocess()
356 execBlock = !strcasecmp(ident2, "BLOCK"); in php_firebird_preprocess()
363 passAsIs = strcasecmp(ident, "INSERT") && strcasecmp(ident, "UPDATE") && in php_firebird_preprocess()
364 strcasecmp(ident, "DELETE") && strcasecmp(ident, "MERGE") && in php_firebird_preprocess()
365 strcasecmp(ident, "SELECT") && strcasecmp(ident, "WITH"); in php_firebird_preprocess()
430 if (!strcasecmp(ident, "AS")) in php_firebird_preprocess()

Completed in 26 milliseconds

123