Home
last modified time | relevance | path

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

1234567

/PHP-8.0/ext/standard/tests/strings/
H A Dstrcmp.phpt2 strcmp() function
139 - strcmp of 'a' and '�' is => int(%d)
148 - strcmp of 'A' and '�' is => int(%d)
157 - strcmp of 'a' and '�' is => int(%d)
187 - strcmp of '�' and 'a' is => int(-%d)
188 - strcmp of '�' and 'A' is => int(-%d)
189 - strcmp of '�' and 'a' is => int(-%d)
190 - strcmp of '�' and 'A' is => int(-%d)
191 - strcmp of '�' and '�' is => int(-%d)
192 - strcmp of '�' and '�' is => int(-%d)
[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) {
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_eol.c37 …if (0 == strcmp(name, "CRLF") || 0 == strcmp(name, "crlf") || 0 == strcmp(name, "DOS") || 0 == str… in phpdbg_eol_global_update()
39 …} else if (0 == strcmp(name, "LF") || 0 == strcmp(name, "lf") || 0 == strcmp(name, "UNIX") || 0 ==… in phpdbg_eol_global_update()
41 …} else if (0 == strcmp(name, "CR") || 0 == strcmp(name, "cr") || 0 == strcmp(name, "MAC") || 0 == in phpdbg_eol_global_update()
H A Dphpdbg_rinit_hook.c34 if (!strcmp(sapi_module.name, PHPDBG_NAME)) { in PHP_MINIT_FUNCTION()
49 …NAME "_AUTH_COOKIE"))) || Z_STRLEN_P(auth) != strlen(PHPDBG_WG(auth)) || strcmp(Z_STRVAL_P(auth), … in PHP_RINIT_FUNCTION()
/PHP-8.0/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.0/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, $output3));
33 var_dump(strcmp($output, $output4)); // different
34 var_dump(strcmp($output, $output5)); // different
/PHP-8.0/ext/odbc/tests/
H A Dbug60616.phpt44 if (strcmp($char_col, $euc_jp_check) == 0 && strcmp($varchar_col, $euc_jp) == 0 &&
45 strcmp($text_col, $euc_jp) == 0) {
52 if (strcmp($char_col, $ascii_check) == 0 && strcmp($varchar_col, $ascii) == 0 &&
53 strcmp($text_col, $ascii) == 0) {
/PHP-8.0/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.0/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";
/PHP-8.0/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.0/main/
H A Dmain.c105 if (!strcmp(facility, "LOG_AUTH") || !strcmp(facility, "auth") || !strcmp(facility, "security")) { in PHP_INI_MH()
117 if (!strcmp(facility, "LOG_CRON") || !strcmp(facility, "cron")) { in PHP_INI_MH()
123 if (!strcmp(facility, "LOG_DAEMON") || !strcmp(facility, "daemon")) { in PHP_INI_MH()
129 if (!strcmp(facility, "LOG_FTP") || !strcmp(facility, "ftp")) { in PHP_INI_MH()
135 if (!strcmp(facility, "LOG_KERN") || !strcmp(facility, "kern")) { in PHP_INI_MH()
141 if (!strcmp(facility, "LOG_LPR") || !strcmp(facility, "lpr")) { in PHP_INI_MH()
147 if (!strcmp(facility, "LOG_MAIL") || !strcmp(facility, "mail")) { in PHP_INI_MH()
159 if (!strcmp(facility, "LOG_NEWS") || !strcmp(facility, "news")) { in PHP_INI_MH()
165 if (!strcmp(facility, "LOG_SYSLOG") || !strcmp(facility, "syslog")) { in PHP_INI_MH()
171 if (!strcmp(facility, "LOG_USER") || !strcmp(facility, "user")) { in PHP_INI_MH()
[all …]
H A Dphp_content_types.c34 if (!strcmp(SG(request_info).request_method, "POST")) { in SAPI_POST_READER_FUNC()
/PHP-8.0/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()
729 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
[all …]
/PHP-8.0/ext/soap/
H A Dphp_xml.c202 if (name == NULL || ((node->name) && strcmp((char*)node->name, name) == 0)) { in attr_is_equal_ex()
206 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex()
218 if (name == NULL || ((node->name) && strcmp((char*)node->name, name) == 0)) { in node_is_equal_ex()
222 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex()
284 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex()
297 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_php.c88 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
98 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
103 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
242 if (strcmp(*p, path_ext) == 0) { in fpm_php_limit_extensions()
/PHP-8.0/sapi/apache2handler/
H A Dsapi_apache2.c551 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor()
593 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler()
609 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler()
611 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler()
667 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler()
668 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler()
669 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler()
681 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
/PHP-8.0/ext/pgsql/
H A Dpgsql.c4395 if (!strcmp(type_name, "bool")|| !strcmp(type_name, "boolean")) in php_pgsql_get_data_type()
4401 if (!strcmp(type_name, "int2") || !strcmp(type_name, "smallint")) in php_pgsql_get_data_type()
4403 if (!strcmp(type_name, "int4") || !strcmp(type_name, "integer")) in php_pgsql_get_data_type()
4405 if (!strcmp(type_name, "int8") || !strcmp(type_name, "bigint")) in php_pgsql_get_data_type()
4408 if (!strcmp(type_name, "float4") || !strcmp(type_name, "real")) in php_pgsql_get_data_type()
4410 if (!strcmp(type_name, "float8") || !strcmp(type_name, "double precision")) in php_pgsql_get_data_type()
4419 if (!strcmp(type_name, "bpchar") || !strcmp(type_name, "character")) in php_pgsql_get_data_type()
4654 if (!strcmp(Z_STRVAL_P(val), "t") || !strcmp(Z_STRVAL_P(val), "T") || in php_pgsql_convert()
4655 !strcmp(Z_STRVAL_P(val), "y") || !strcmp(Z_STRVAL_P(val), "Y") || in php_pgsql_convert()
4657 !strcmp(Z_STRVAL_P(val), "yes") || !strcmp(Z_STRVAL_P(val), "Yes") || in php_pgsql_convert()
[all …]
/PHP-8.0/ext/com_dotnet/
H A Dphp_com_dotnet_internal.h54 return strcmp("com", ce->name->val) == 0 || in php_com_is_valid_object()
55 strcmp("dotnet", ce->name->val) == 0 || in php_com_is_valid_object()
56 strcmp("variant", ce->name->val) == 0; in php_com_is_valid_object()
/PHP-8.0/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'))

Completed in 80 milliseconds

1234567