/PHP-7.2/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.2/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.2/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.2/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.2/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.2/ext/wddx/ |
H A D | wddx.c | 727 if (!strcmp((char *)name, EL_PACKET)) { in php_wddx_push_element() 747 } else if (!strcmp((char *)name, EL_CHAR)) { in php_wddx_push_element() 781 } else if (!strcmp((char *)name, EL_NULL)) { in php_wddx_push_element() 799 } else if (!strcmp((char *)name, EL_VAR)) { in php_wddx_push_element() 892 if (!strcmp((char *)name, EL_STRING) || !strcmp((char *)name, EL_NUMBER) || in php_wddx_pop_element() 893 !strcmp((char *)name, EL_BOOLEAN) || !strcmp((char *)name, EL_NULL) || in php_wddx_pop_element() 894 !strcmp((char *)name, EL_ARRAY) || !strcmp((char *)name, EL_STRUCT) || in php_wddx_pop_element() 895 !strcmp((char *)name, EL_RECORDSET) || !strcmp((char *)name, EL_BINARY) || in php_wddx_pop_element() 896 !strcmp((char *)name, EL_DATETIME)) { in php_wddx_pop_element() 909 if (!strcmp((char *)name, EL_BINARY)) { in php_wddx_pop_element() [all …]
|
/PHP-7.2/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";
|
H A D | 003.phpt | 10 if (strcmp($original, gzdecode($packed)) == 0) echo "Strings are equal";
|
/PHP-7.2/ext/pdo/ |
H A D | php_pdo_error.h | 36 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, … 37 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
|
/PHP-7.2/ext/intl/locale/ |
H A D | locale_methods.c | 113 if (strcmp(key, *list) == 0) { in findOffset() 279 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal() 289 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal() 322 if( strcmp(tag_name , LOC_SCRIPT_TAG)==0 ){ in get_icu_value_internal() 325 if( strcmp(tag_name , LOC_LANG_TAG )==0 ){ in get_icu_value_internal() 328 if( strcmp(tag_name , LOC_REGION_TAG)==0 ){ in get_icu_value_internal() 530 if( strcmp(tag_name, DISP_NAME) != 0 ){ in get_icu_disp_value_src_php() 534 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php() 558 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php() 790 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value() [all …]
|
/PHP-7.2/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.2/ext/soap/ |
H A D | php_xml.c | 207 if (name == NULL || strcmp((char*)node->name, name) == 0) { in attr_is_equal_ex() 211 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex() 223 if (name == NULL || strcmp((char*)node->name, name) == 0) { in node_is_equal_ex() 227 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex() 289 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex() 302 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_php.c | 89 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex() 99 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex() 106 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex() 248 if (strcmp(*p, path_ext) == 0) { in fpm_php_limit_extensions()
|
/PHP-7.2/ext/xmlrpc/ |
H A D | xmlrpc-epi-php.c | 378 if (!strcmp(Z_STRVAL_P(val), OUTPUT_TYPE_VALUE_PHP)) { in set_output_options() 380 } else if (!strcmp(Z_STRVAL_P(val), OUTPUT_TYPE_VALUE_XML)) { in set_output_options() 393 } else if (!strcmp(Z_STRVAL_P(val), VERBOSITY_VALUE_PRETTY)) { in set_output_options() 403 if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_XMLRPC)) { in set_output_options() 405 } else if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_SIMPLE)) { in set_output_options() 407 } else if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_SOAP11)) { in set_output_options() 433 if (!strcmp(Z_STRVAL_P(iter_val), ESCAPING_VALUE_CDATA)) { in set_output_options() 446 if (!strcmp(Z_STRVAL_P(val), ESCAPING_VALUE_CDATA)) { in set_output_options() 452 } else if (!strcmp(Z_STRVAL_P(val), ESCAPING_VALUE_MARKUP)) { in set_output_options() 1253 if (!strcmp(str_mapping[i], str)) { in xmlrpc_str_as_type() [all …]
|
/PHP-7.2/sapi/apache2handler/ |
H A D | sapi_apache2.c | 546 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor() 586 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler() 602 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler() 604 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler() 660 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler() 661 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler() 662 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler() 674 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
|
/PHP-7.2/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()
|