Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 144) sorted by relevance

123456

/PHP-8.1/ext/standard/tests/strings/
H A Dstrcmp.phpt2 strcmp() function
76 var_dump(strcmp($string, $string));
78 var_dump(strcmp($string, "&&&"));
83 var_dump(strcmp($str, "\0"));
84 var_dump(strcmp($str, "0"));
102 var_dump(strcmp("\x0", "\0"));
103 var_dump(strcmp("\000", "\0"));
104 var_dump(strcmp("\x00", ""));
130 - strcmp of 'a' and 'a' is => int(0)
380 - strcmp of '' and '' is => int(0)
[all …]
H A Dstr_rot13_basic.phpt12 if (strcmp(str_rot13("0123456789"), "0123456789") == 0) {
19 if (strcmp(str_rot13("!%^&*()_-+={}[]:;@~#<,>.?"), "!%^&*()_-+={}[]:;@~#<,>.?")) {
29 if (strcmp($str, $decode) == 0) {
H A Dmd5_basic2.phpt12 if (strcmp(bin2hex($md5_raw), $md5) == 0 ) {
/PHP-8.1/ext/gd/libgd/
H A Dwebpng.c38 if (argc < 2 || !strcmp (argv[1], "--help")) in main()
45 if (strcmp ("-", argv[argc - 1]) == 0) in main()
74 if (!strcmp (argv[i], "--help")) in main()
80 else if (!strcmp (argv[i], "-i")) in main()
89 if (!strcmp (argv[i + 1], "y")) in main()
94 else if (!strcmp (argv[i + 1], "n")) in main()
110 else if (!strcmp (argv[i], "-t")) in main()
121 if (!strcmp (argv[i + 1], "none")) in main()
136 else if (!strcmp (argv[i], "-l")) in main()
161 else if (!strcmp (argv[i], "-d")) in main()
[all …]
H A Dgdkanji.c199 if (strcmp (lang, "ja_JP.SJIS") == 0 || in DetectKanjiCode()
201 strcmp (lang, "japanese") == 0 || in DetectKanjiCode()
203 strcmp (lang, "ja_JP.mscode") == 0 || in DetectKanjiCode()
204 strcmp (lang, "ja_JP.PCK") == 0) in DetectKanjiCode()
384 if (strcmp (code, NEWJISSTR) == 0 || strcmp (code, OLDJISSTR) == 0) in do_convert()
421 else if (strcmp (code, SJISSTR) == 0) in do_convert()
H A Dgd_xbm.c62 if (!strcmp("width", type)) { in gdImageCreateFromXbm()
65 if (!strcmp("height", type)) { in gdImageCreateFromXbm()
88 if (!strcmp("bits[]", type)) { in gdImageCreateFromXbm()
/PHP-8.1/ext/odbc/tests/
H A Dbug60616.phpt46 if (strcmp($char_col, $euc_jp_check) == 0 && strcmp($varchar_col, $euc_jp) == 0 &&
47 strcmp($text_col, $euc_jp) == 0) {
54 if (strcmp($char_col, $ascii_check) == 0 && strcmp($varchar_col, $ascii) == 0 &&
55 strcmp($text_col, $ascii) == 0) {
/PHP-8.1/ext/zlib/tests/
H A D001.phpt11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
18 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
24 if (strcmp($original,$unpacked)==0) echo "Strings are equal";
H A D002.phpt11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
18 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
H A Dgzinflate_length.phpt11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
14 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
H A D003.phpt10 if (strcmp($original, gzdecode($packed)) == 0) echo "Strings are equal";
H A Dgzuncompress_basic1.phpt16 var_dump(strcmp($data, gzuncompress($compressed)));
H A Dgzdeflate_basic1.phpt29 var_dump(strcmp(gzinflate($output), $data));
37 var_dump(strcmp(gzinflate($output), $smallstring));
H A Dgzcompress_basic1.phpt29 var_dump(strcmp(gzuncompress($output), $data));
37 var_dump(strcmp(gzuncompress($output), $smallstring));
/PHP-8.1/ext/standard/tests/array/
H A Duasort_variation8.phpt7 * valid comparison functions: strcmp() & strcasecmp()
21 echo "-- Testing uasort() with built-in 'cmp_function': strcmp() --\n";
22 var_dump( uasort($array_arg, 'strcmp') ); // expecting: bool(true)
43 -- Testing uasort() with built-in 'cmp_function': strcmp() --
H A Dusort_variation8.phpt23 echo "\n-- Testing usort() with built-in 'cmp_function': strcmp() --\n";
25 var_dump( usort($temp_array2, 'strcmp') );
47 -- Testing usort() with built-in 'cmp_function': strcmp() --
/PHP-8.1/ext/pdo/
H A Dphp_pdo_error.h32 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, …
33 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
/PHP-8.1/ext/intl/locale/
H A Dlocale_methods.c108 if (strcmp(key, *list) == 0) { in findOffset()
269 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
281 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
314 if( strcmp(tag_name , LOC_SCRIPT_TAG)==0 ){ in get_icu_value_internal()
317 if( strcmp(tag_name , LOC_LANG_TAG )==0 ){ in get_icu_value_internal()
320 if( strcmp(tag_name , LOC_REGION_TAG)==0 ){ in get_icu_value_internal()
499 if( strcmp(tag_name, DISP_NAME) != 0 ){ in get_icu_disp_value_src_php()
503 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
527 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
728 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
[all …]
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_x509_export_basic.phpt30 var_dump(strcmp($output, $a));
31 var_dump(strcmp($output, $output2));
32 var_dump(strcmp($output, $output4));
/PHP-8.1/ext/soap/
H A Dphp_xml.c208 if (name == NULL || ((node->name) && strcmp((char*)node->name, name) == 0)) { in attr_is_equal_ex()
212 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex()
224 if (name == NULL || ((node->name) && strcmp((char*)node->name, name) == 0)) { in node_is_equal_ex()
228 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex()
290 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex()
303 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_php.c93 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
105 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
110 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
261 if (strcmp(*p, path_ext) == 0) { in fpm_php_limit_extensions()
/PHP-8.1/sapi/apache2handler/
H A Dsapi_apache2.c556 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor()
598 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler()
614 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler()
616 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler()
672 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler()
673 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler()
674 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler()
686 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
/PHP-8.1/main/
H A Dphp_content_types.c34 if (!strcmp(SG(request_info).request_method, "POST")) { in SAPI_POST_READER_FUNC()
/PHP-8.1/ext/oci8/tests/
H A Dconn_attr.inc90 if (!strcmp($attr,'MODULE'))
92 else if (!strcmp($attr,'ACTION'))
94 else if (!strcmp($attr,'CLIENT_INFO'))
96 else if (!strcmp($attr,'CLIENT_IDENTIFIER'))
/PHP-8.1/ext/standard/
H A Dconfig.m433 if (0 != strcmp(buffer, "line 1\n"))
36 if (0 != strcmp(buffer, "line 3\n"))
78 return !encrypted || strcmp(encrypted,"rl.3StKT.4T8M");
108 return !encrypted || strcmp(encrypted,"_J9..rasmBYk8r9AiWNc");
148 return !encrypted || strcmp(encrypted,answer);
185 return !encrypted || strcmp(encrypted,answer);
221 return !encrypted || strcmp(encrypted,answer);
257 return !encrypted || strcmp(encrypted,answer);

Completed in 55 milliseconds

123456