Home
last modified time | relevance | path

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

1234567

/php-src/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-src/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-src/ext/odbc/tests/
H A Dbug60616.phpt55 if (strcmp($char_col, $euc_jp_check) == 0 && strcmp($varchar_col, $euc_jp) == 0 &&
56 strcmp($text_col, $euc_jp) == 0) {
63 if (strcmp($char_col, $ascii_check) == 0 && strcmp($varchar_col, $ascii) == 0 &&
64 strcmp($text_col, $ascii) == 0) {
/php-src/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.phpt26 var_dump(strcmp(gzdecode($output), $data)===0);
33 var_dump(strcmp(gzdecode($output), $smallstring)===0);
39 var_dump(strcmp(gzdecode($output), $smallstring)===0);
43 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.phpt26 var_dump(strcmp(gzuncompress($output), $data));
33 var_dump(strcmp(gzuncompress($output), $smallstring));
39 var_dump(strcmp(gzuncompress($output), $smallstring));
H A Dgzdeflate_basic1.phpt26 var_dump(strcmp(gzinflate($output), $data));
33 var_dump(strcmp(gzinflate($output), $smallstring));
39 var_dump(strcmp(gzinflate($output), $smallstring));
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)));
/php-src/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-src/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-src/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-src/ext/intl/locale/
H A Dlocale_methods.c360 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
372 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
405 if( strcmp(tag_name , LOC_SCRIPT_TAG)==0 ){ in get_icu_value_internal()
408 if( strcmp(tag_name , LOC_LANG_TAG )==0 ){ in get_icu_value_internal()
411 if( strcmp(tag_name , LOC_REGION_TAG)==0 ){ in get_icu_value_internal()
414 if( strcmp(tag_name , LOC_VARIANT_TAG)==0 ){ in get_icu_value_internal()
588 if( strcmp(tag_name, DISP_NAME) != 0 ){ in get_icu_disp_value_src_php()
592 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
616 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
815 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
[all …]
/php-src/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-src/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-src/sapi/apache2handler/
H A Dsapi_apache2.c563 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor()
605 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler()
621 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler()
623 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler()
679 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler()
680 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler()
681 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler()
693 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
/php-src/main/
H A Dphp_content_types.c34 if (!strcmp(SG(request_info).request_method, "POST")) { in SAPI_POST_READER_FUNC()
/php-src/ext/standard/
H A Dconfig.m446 if (0 != strcmp(buffer, "line 1\n")) {
55 if (0 != strcmp(buffer, "line 3\n")) {
122 return !encrypted || strcmp(encrypted,"rl.3StKT.4T8M");
143 return !encrypted || strcmp(encrypted,"_J9..rasmBYk8r9AiWNc");
174 return !encrypted || strcmp(encrypted,answer);
203 return !encrypted || strcmp(encrypted,answer);
230 return !encrypted || strcmp(encrypted,answer);
257 return !encrypted || strcmp(encrypted,answer);

Completed in 60 milliseconds

1234567