/PHP-7.3/ext/standard/tests/strings/ |
H A D | strcmp.phpt | 2 strcmp() function 143 strcmp(); 144 strcmp(""); 145 strcmp("HI"); 219 - strcmp of '' and 'a' is => int(-%d) 220 - strcmp of '' and 'A' is => int(-%d) 221 - strcmp of '' and 'a' is => int(-%d) 222 - strcmp of '' and 'A' is => int(-%d) 223 - strcmp of '' and '�' is => int(-%d) 224 - strcmp of '' and '�' is => int(-%d) [all …]
|
H A D | str_rot13_basic.phpt | 16 if (strcmp(str_rot13("0123456789"), "0123456789") == 0) { 23 if (strcmp(str_rot13("!%^&*()_-+={}[]:;@~#<,>.?"), "!%^&*()_-+={}[]:;@~#<,>.?")) { 33 if (strcmp($str, $decode) == 0) {
|
/PHP-7.3/ext/gd/libgd/ |
H A D | webpng.c | 38 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 D | gdkanji.c | 201 if (strcmp (lang, "ja_JP.SJIS") == 0 || in DetectKanjiCode() 203 strcmp (lang, "japanese") == 0 || in DetectKanjiCode() 205 strcmp (lang, "ja_JP.mscode") == 0 || in DetectKanjiCode() 206 strcmp (lang, "ja_JP.PCK") == 0) in DetectKanjiCode() 390 if (strcmp (code, NEWJISSTR) == 0 || strcmp (code, OLDJISSTR) == 0) in do_convert() 427 else if (strcmp (code, SJISSTR) == 0) in do_convert()
|
H A D | gd_xbm.c | 64 if (!strcmp("width", type)) { in gdImageCreateFromXbm() 67 if (!strcmp("height", type)) { in gdImageCreateFromXbm() 90 if (!strcmp("bits[]", type)) { in gdImageCreateFromXbm()
|
/PHP-7.3/ext/xmlrpc/libxmlrpc/ |
H A D | xml_to_dandarpc.c | 73 if(!strcmp(attr_iter->key, ATTR_ID)) { in xml_element_to_DANDARPC_REQUEST_worker() 76 if(!strcmp(attr_iter->key, ATTR_TYPE)) { in xml_element_to_DANDARPC_REQUEST_worker() 86 if(!strcmp(el->name, ATTR_SCALAR)) { in xml_element_to_DANDARPC_REQUEST_worker() 90 else if(!strcmp(type, ATTR_INT)) { in xml_element_to_DANDARPC_REQUEST_worker() 93 else if(!strcmp(type, ATTR_BOOLEAN)) { in xml_element_to_DANDARPC_REQUEST_worker() 96 else if(!strcmp(type, ATTR_DOUBLE)) { in xml_element_to_DANDARPC_REQUEST_worker() 99 else if(!strcmp(type, ATTR_DATETIME)) { in xml_element_to_DANDARPC_REQUEST_worker() 102 else if(!strcmp(type, ATTR_BASE64)) { in xml_element_to_DANDARPC_REQUEST_worker() 109 else if(!strcmp(el->name, ATTR_VECTOR)) { in xml_element_to_DANDARPC_REQUEST_worker() 115 else if(!strcmp(type, ATTR_ARRAY)) { in xml_element_to_DANDARPC_REQUEST_worker() [all …]
|
H A D | xmlrpc_introspection.c | 81 if(name && !strcmp(name, needle)) { in find_named_value() 320 if(!strcmp(attr_iter->key, "name")) { in xml_element_to_method_description() 323 else if(!strcmp(attr_iter->key, "type")) { in xml_element_to_method_description() 329 else if(!strcmp(attr_iter->key, "desc")) { in xml_element_to_method_description() 337 else if(!strcmp(attr_iter->key, "default")) { in xml_element_to_method_description() 344 if(!strcmp(el->name, "value") || !strcmp(el->name, "typeDescription")) { in xml_element_to_method_description() 349 (!strcmp(ptype, "array") || !strcmp(ptype, "struct") || !strcmp(ptype, "mixed"))) { in xml_element_to_method_description() 366 else if(!strcmp(el->name, "params") || in xml_element_to_method_description() 367 !strcmp(el->name, "returns") || in xml_element_to_method_description() 368 !strcmp(el->name, "signature")) { in xml_element_to_method_description() [all …]
|
H A D | xml_to_xmlrpc.c | 76 if (!strcmp(el->name, ELEM_FAULT)) { in xml_element_to_XMLRPC_REQUEST_worker() 95 || (!strcmp(el->name, ELEM_PARAMS) && in xml_element_to_XMLRPC_REQUEST_worker() 107 else if (!strcmp(el->name, ELEM_STRUCT)) { in xml_element_to_XMLRPC_REQUEST_worker() 118 else if (!strcmp(el->name, ELEM_STRING) || in xml_element_to_XMLRPC_REQUEST_worker() 122 else if (!strcmp(el->name, ELEM_NAME)) { in xml_element_to_XMLRPC_REQUEST_worker() 125 else if (!strcmp(el->name, ELEM_INT) || !strcmp(el->name, ELEM_I4)) { in xml_element_to_XMLRPC_REQUEST_worker() 128 else if (!strcmp(el->name, ELEM_BOOLEAN)) { in xml_element_to_XMLRPC_REQUEST_worker() 131 else if (!strcmp(el->name, ELEM_DOUBLE)) { in xml_element_to_XMLRPC_REQUEST_worker() 134 else if (!strcmp(el->name, ELEM_DATETIME)) { in xml_element_to_XMLRPC_REQUEST_worker() 137 else if (!strcmp(el->name, ELEM_BASE64)) { in xml_element_to_XMLRPC_REQUEST_worker() [all …]
|
H A D | xml_to_soap.c | 261 if(!strcmp(id, "item")) { in xml_element_to_SOAP_REQUEST_worker() 268 if (!strcmp(attr_iter->key, TOKEN_TYPE)) { in xml_element_to_SOAP_REQUEST_worker() 342 if (!type || !strcmp(type, TOKEN_STRING)) { in xml_element_to_SOAP_REQUEST_worker() 345 else if (!strcmp(type, TOKEN_INT)) { in xml_element_to_SOAP_REQUEST_worker() 348 else if (!strcmp(type, TOKEN_BOOLEAN)) { in xml_element_to_SOAP_REQUEST_worker() 351 else if (!strcmp(type, TOKEN_DOUBLE) || in xml_element_to_SOAP_REQUEST_worker() 352 !strcmp(type, TOKEN_FLOAT)) { in xml_element_to_SOAP_REQUEST_worker() 355 else if (!strcmp(type, TOKEN_NULL)) { in xml_element_to_SOAP_REQUEST_worker() 358 else if (!strcmp(type, TOKEN_DATETIME)) { in xml_element_to_SOAP_REQUEST_worker() 361 else if (!strcmp(type, TOKEN_BASE64)) { in xml_element_to_SOAP_REQUEST_worker() [all …]
|
/PHP-7.3/ext/openssl/tests/ |
H A D | openssl_x509_export_basic.phpt | 25 var_dump(strcmp($output, $a)); 26 var_dump(strcmp($output, $output2)); 27 var_dump(strcmp($output, $output3)); 28 var_dump(strcmp($output, $output4)); // different 29 var_dump(strcmp($output, $output5)); // different
|
/PHP-7.3/ext/odbc/tests/ |
H A D | bug60616.phpt | 44 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-7.3/ext/zlib/tests/ |
H A D | 001.phpt | 11 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 D | 002.phpt | 11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n"; 18 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
|
H A D | gzinflate_length.phpt | 11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n"; 14 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
|
/PHP-7.3/ext/wddx/ |
H A D | wddx.c | 723 if (!strcmp((char *)name, EL_PACKET)) { in php_wddx_push_element() 743 } else if (!strcmp((char *)name, EL_CHAR)) { in php_wddx_push_element() 777 } else if (!strcmp((char *)name, EL_NULL)) { in php_wddx_push_element() 795 } else if (!strcmp((char *)name, EL_VAR)) { in php_wddx_push_element() 888 if (!strcmp((char *)name, EL_STRING) || !strcmp((char *)name, EL_NUMBER) || in php_wddx_pop_element() 889 !strcmp((char *)name, EL_BOOLEAN) || !strcmp((char *)name, EL_NULL) || in php_wddx_pop_element() 890 !strcmp((char *)name, EL_ARRAY) || !strcmp((char *)name, EL_STRUCT) || in php_wddx_pop_element() 891 !strcmp((char *)name, EL_RECORDSET) || !strcmp((char *)name, EL_BINARY) || in php_wddx_pop_element() 892 !strcmp((char *)name, EL_DATETIME)) { in php_wddx_pop_element() 905 if (!strcmp((char *)name, EL_BINARY)) { in php_wddx_pop_element() [all …]
|
/PHP-7.3/main/ |
H A D | main.c | 155 if (!strcmp(facility, "LOG_AUTH") || !strcmp(facility, "auth") || !strcmp(facility, "security")) { in PHP_INI_MH() 167 if (!strcmp(facility, "LOG_CRON") || !strcmp(facility, "cron")) { in PHP_INI_MH() 173 if (!strcmp(facility, "LOG_DAEMON") || !strcmp(facility, "daemon")) { in PHP_INI_MH() 179 if (!strcmp(facility, "LOG_FTP") || !strcmp(facility, "ftp")) { in PHP_INI_MH() 185 if (!strcmp(facility, "LOG_KERN") || !strcmp(facility, "kern")) { in PHP_INI_MH() 191 if (!strcmp(facility, "LOG_LPR") || !strcmp(facility, "lpr")) { in PHP_INI_MH() 197 if (!strcmp(facility, "LOG_MAIL") || !strcmp(facility, "mail")) { in PHP_INI_MH() 209 if (!strcmp(facility, "LOG_NEWS") || !strcmp(facility, "news")) { in PHP_INI_MH() 215 if (!strcmp(facility, "LOG_SYSLOG") || !strcmp(facility, "syslog")) { in PHP_INI_MH() 221 if (!strcmp(facility, "LOG_USER") || !strcmp(facility, "user")) { in PHP_INI_MH() [all …]
|
/PHP-7.3/ext/pdo/ |
H A D | php_pdo_error.h | 34 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, … 35 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
|
/PHP-7.3/ext/intl/locale/ |
H A D | locale_methods.c | 111 if (strcmp(key, *list) == 0) { in findOffset() 275 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal() 287 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal() 320 if( strcmp(tag_name , LOC_SCRIPT_TAG)==0 ){ in get_icu_value_internal() 323 if( strcmp(tag_name , LOC_LANG_TAG )==0 ){ in get_icu_value_internal() 326 if( strcmp(tag_name , LOC_REGION_TAG)==0 ){ in get_icu_value_internal() 527 if( strcmp(tag_name, DISP_NAME) != 0 ){ in get_icu_disp_value_src_php() 531 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php() 555 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php() 785 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value() [all …]
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | uasort_variation8.phpt | 12 * valid comparison functions: strcmp() & strcasecmp() 27 echo "-- Testing uasort() with built-in 'cmp_function': strcmp() --\n"; 28 var_dump( uasort($array_arg, 'strcmp') ); // expecting: bool(true) 56 -- Testing uasort() with built-in 'cmp_function': strcmp() --
|
H A D | usort_variation8.phpt | 28 echo "\n-- Testing usort() with built-in 'cmp_function': strcmp() --\n"; 30 var_dump( usort($temp_array2, 'strcmp') ); 61 -- Testing usort() with built-in 'cmp_function': strcmp() --
|
/PHP-7.3/ext/soap/ |
H A D | php_xml.c | 206 if (name == NULL || ((node->name) && strcmp((char*)node->name, name) == 0)) { in attr_is_equal_ex() 210 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex() 222 if (name == NULL || ((node->name) && strcmp((char*)node->name, name) == 0)) { in node_is_equal_ex() 226 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex() 288 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex() 301 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_php.c | 88 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex() 98 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex() 105 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex() 247 if (strcmp(*p, path_ext) == 0) { in fpm_php_limit_extensions()
|
/PHP-7.3/ext/xmlrpc/ |
H A D | xmlrpc-epi-php.c | 375 if (!strcmp(Z_STRVAL_P(val), OUTPUT_TYPE_VALUE_PHP)) { in set_output_options() 377 } else if (!strcmp(Z_STRVAL_P(val), OUTPUT_TYPE_VALUE_XML)) { in set_output_options() 390 } else if (!strcmp(Z_STRVAL_P(val), VERBOSITY_VALUE_PRETTY)) { in set_output_options() 400 if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_XMLRPC)) { in set_output_options() 402 } else if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_SIMPLE)) { in set_output_options() 404 } else if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_SOAP11)) { in set_output_options() 430 if (!strcmp(Z_STRVAL_P(iter_val), ESCAPING_VALUE_CDATA)) { in set_output_options() 443 if (!strcmp(Z_STRVAL_P(val), ESCAPING_VALUE_CDATA)) { in set_output_options() 449 } else if (!strcmp(Z_STRVAL_P(val), ESCAPING_VALUE_MARKUP)) { in set_output_options() 1243 if (!strcmp(str_mapping[i], str)) { in xmlrpc_str_as_type() [all …]
|
/PHP-7.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 544 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor() 584 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler() 600 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler() 602 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler() 658 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler() 659 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler() 660 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler() 672 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_rinit_hook.c | 36 if (!strcmp(sapi_module.name, PHPDBG_NAME)) { in PHP_MINIT_FUNCTION() 51 …NAME "_AUTH_COOKIE"))) || Z_STRLEN_P(auth) != strlen(PHPDBG_WG(auth)) || strcmp(Z_STRVAL_P(auth), … in PHP_RINIT_FUNCTION()
|