Home
last modified time | relevance | path

Searched refs:strcmp (Results 101 – 125 of 157) sorted by path

1234567

/PHP-7.4/ext/standard/
H A Dstring.c4957 if (!strcmp("0", ZSTR_VAL(loc))) {
H A Dvar.c901 if (incomplete_class && strcmp(ZSTR_VAL(key), MAGIC_MEMBER) == 0) { in php_var_serialize_nested_data()
H A Dvar_unserializer.re531 …if ((unmangled_class == NULL || !strcmp(unmangled_class, "*") || !strcasecmp(unmangled_class, ZSTR…
539 if (unmangled_class != NULL && strcmp(unmangled_class, "*") != 0) {
/PHP-7.4/ext/standard/tests/array/
H A D003.phpt14 return strcmp ($a, $b);
H A Duasort_variation8.phpt12 * 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 Dusort_variation8.phpt28 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.4/ext/standard/tests/file/
H A Dfgets_socket_variation2.phpt47 if (strcmp($line, LINE_OF_DATA) != 0) {
/PHP-7.4/ext/standard/tests/strings/
H A Dmd5_basic2.phpt17 if (strcmp(bin2hex($md5_raw), $md5) == 0 ) {
H A Dstr_rot13_basic.phpt16 if (strcmp(str_rot13("0123456789"), "0123456789") == 0) {
23 if (strcmp(str_rot13("!%^&*()_-+={}[]:;@~#<,>.?"), "!%^&*()_-+={}[]:;@~#<,>.?")) {
33 if (strcmp($str, $decode) == 0) {
H A Dstrcmp.phpt2 strcmp() function
119 strcmp();
120 strcmp("");
121 strcmp("HI");
195 - strcmp of '�' and 'a' is => int(-%d)
196 - strcmp of '�' and 'A' is => int(-%d)
197 - strcmp of '�' and 'a' is => int(-%d)
198 - strcmp of '�' and 'A' is => int(-%d)
199 - strcmp of '�' and '�' is => int(-%d)
200 - strcmp of '�' and '�' is => int(-%d)
[all …]
H A Dstripslashes_basic.phpt30 if( strcmp($str, $str_stripslashes) != 0 )
H A Dstripslashes_variation2.phpt100 if( strcmp($str, $str_stripslashes) != 0 )
/PHP-7.4/ext/sysvshm/
H A Dsysvshm.c201 if (strcmp((char*) &(chunk_ptr->magic), "PHP_SM") != 0) { in PHP_FUNCTION()
/PHP-7.4/ext/xml/
H A Dxml.c930 if (!strcmp(Z_STRVAL_P(mytype), "cdata")) { in _xml_characterDataHandler()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c699 mydata.needs_enc_conversion = options->encoding && strcmp(options->encoding, encoding_utf_8); in xml_elem_parse_buf()
H A Dxml_to_dandarpc.c73 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 Dxml_to_soap.c259 if(!strcmp(id, "item")) { in xml_element_to_SOAP_REQUEST_worker()
266 if (!strcmp(attr_iter->key, TOKEN_TYPE)) { in xml_element_to_SOAP_REQUEST_worker()
340 if (!type || !strcmp(type, TOKEN_STRING)) { in xml_element_to_SOAP_REQUEST_worker()
343 else if (!strcmp(type, TOKEN_INT)) { in xml_element_to_SOAP_REQUEST_worker()
346 else if (!strcmp(type, TOKEN_BOOLEAN)) { in xml_element_to_SOAP_REQUEST_worker()
349 else if (!strcmp(type, TOKEN_DOUBLE) || in xml_element_to_SOAP_REQUEST_worker()
350 !strcmp(type, TOKEN_FLOAT)) { in xml_element_to_SOAP_REQUEST_worker()
353 else if (!strcmp(type, TOKEN_NULL)) { in xml_element_to_SOAP_REQUEST_worker()
356 else if (!strcmp(type, TOKEN_DATETIME)) { in xml_element_to_SOAP_REQUEST_worker()
359 else if (!strcmp(type, TOKEN_BASE64)) { in xml_element_to_SOAP_REQUEST_worker()
[all …]
H A Dxml_to_xmlrpc.c74 if (!strcmp(el->name, ELEM_FAULT)) { in xml_element_to_XMLRPC_REQUEST_worker()
93 || (!strcmp(el->name, ELEM_PARAMS) && in xml_element_to_XMLRPC_REQUEST_worker()
105 else if (!strcmp(el->name, ELEM_STRUCT)) { in xml_element_to_XMLRPC_REQUEST_worker()
116 else if (!strcmp(el->name, ELEM_STRING) || in xml_element_to_XMLRPC_REQUEST_worker()
120 else if (!strcmp(el->name, ELEM_NAME)) { in xml_element_to_XMLRPC_REQUEST_worker()
123 else if (!strcmp(el->name, ELEM_INT) || !strcmp(el->name, ELEM_I4)) { in xml_element_to_XMLRPC_REQUEST_worker()
126 else if (!strcmp(el->name, ELEM_BOOLEAN)) { in xml_element_to_XMLRPC_REQUEST_worker()
129 else if (!strcmp(el->name, ELEM_DOUBLE)) { in xml_element_to_XMLRPC_REQUEST_worker()
132 else if (!strcmp(el->name, ELEM_DATETIME)) { in xml_element_to_XMLRPC_REQUEST_worker()
135 else if (!strcmp(el->name, ELEM_BASE64)) { in xml_element_to_XMLRPC_REQUEST_worker()
[all …]
H A Dxmlrpc.c810 if(!strcmp(root_elem->name, "simpleRPC")) { in XMLRPC_REQUEST_FromXML()
814 else if (!strcmp (root_elem->name, "SOAP-ENV:Envelope")) { in XMLRPC_REQUEST_FromXML()
1274 if(!strcmp(xIter->id.str, id)) { in XMLRPC_VectorGetValueWithID_Case()
2456 if(sm && !strcmp(sm->name, name)) { in find_method()
2522 if(sm && !strcmp(sm->name, callName)) { in XMLRPC_ServerFindMethod()
H A Dxmlrpc_introspection.c81 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 …]
/PHP-7.4/ext/xmlrpc/
H A Dxmlrpc-epi-php.c375 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()
1248 if (!strcmp(str_mapping[i], str)) { in xmlrpc_str_as_type()
[all …]
/PHP-7.4/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 D003.phpt10 if (strcmp($original, gzdecode($packed)) == 0) echo "Strings are equal";
H A Dgzcompress_basic1.phpt37 var_dump(strcmp(gzuncompress($output), $data));
45 var_dump(strcmp(gzuncompress($output), $smallstring));

Completed in 80 milliseconds

1234567