Home
last modified time | relevance | path

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

123456

/PHP-8.2/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", ""));
131 - strcmp of 'a' and 'a' is => int(0)
381 - 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.2/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.2/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.2/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 Dgzencode_basic1.phpt28 var_dump(strcmp(gzdecode($output), $data)===0);
35 var_dump(strcmp(gzdecode($output), $smallstring)===0);
41 var_dump(strcmp(gzdecode($output), $smallstring)===0);
45 var_dump(strcmp(gzdecode($output), $smallstring)===0);
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 Dgzcompress_basic1.phpt28 var_dump(strcmp(gzuncompress($output), $data));
35 var_dump(strcmp(gzuncompress($output), $smallstring));
41 var_dump(strcmp(gzuncompress($output), $smallstring));
H A Dgzdeflate_basic1.phpt28 var_dump(strcmp(gzinflate($output), $data));
35 var_dump(strcmp(gzinflate($output), $smallstring));
41 var_dump(strcmp(gzinflate($output), $smallstring));
H A D003.phpt10 if (strcmp($original, gzdecode($packed)) == 0) echo "Strings are equal";
/PHP-8.2/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.2/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.2/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.2/ext/intl/locale/
H A Dlocale_methods.c363 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
375 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
408 if( strcmp(tag_name , LOC_SCRIPT_TAG)==0 ){ in get_icu_value_internal()
411 if( strcmp(tag_name , LOC_LANG_TAG )==0 ){ in get_icu_value_internal()
414 if( strcmp(tag_name , LOC_REGION_TAG)==0 ){ in get_icu_value_internal()
417 if( strcmp(tag_name , LOC_VARIANT_TAG)==0 ){ in get_icu_value_internal()
593 if( strcmp(tag_name, DISP_NAME) != 0 ){ in get_icu_disp_value_src_php()
597 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
621 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
822 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
[all …]
/PHP-8.2/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.2/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.2/sapi/apache2handler/
H A Dsapi_apache2.c558 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor()
600 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler()
616 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler()
618 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler()
674 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler()
675 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler()
676 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler()
688 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
/PHP-8.2/main/
H A Dphp_content_types.c34 if (!strcmp(SG(request_info).request_method, "POST")) { in SAPI_POST_READER_FUNC()
/PHP-8.2/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.2/ext/standard/
H A Dconfig.m433 if (0 != strcmp(buffer, "line 1\n"))
36 if (0 != strcmp(buffer, "line 3\n"))
87 return !encrypted || strcmp(encrypted,"rl.3StKT.4T8M");
117 return !encrypted || strcmp(encrypted,"_J9..rasmBYk8r9AiWNc");
157 return !encrypted || strcmp(encrypted,answer);
194 return !encrypted || strcmp(encrypted,answer);
230 return !encrypted || strcmp(encrypted,answer);
266 return !encrypted || strcmp(encrypted,answer);

Completed in 31 milliseconds

123456