Home
last modified time | relevance | path

Searched refs:key2 (Results 51 – 61 of 61) sorted by relevance

123

/PHP-8.3/ext/standard/tests/array/
H A Darray_chunk_basic1.phpt16 array('key1' => 1, "key2" => 2, "key3" => 3),
H A Darray_diff_ukey_variation2.phpt13 function key_compare_func($key1, $key2)
15 if ($key1 == $key2) {
18 return ($key1 > $key2)? 1:-1;
H A Darray_intersect_ukey_variation2.phpt12 function key_compare_func($key1, $key2)
14 if ($key1 == $key2)
17 return ($key1 > $key2)? 1:-1;
H A Darray_diff_ukey_variation1.phpt11 function key_compare_func($key1, $key2)
13 if ($key1 == $key2) {
16 return ($key1 > $key2)? 1:-1;
H A Darray_intersect_ukey_variation1.phpt12 function key_compare_func($key1, $key2)
14 if ($key1 == $key2)
17 return ($key1 > $key2)? 1:-1;
H A Darray_rand_variation4.phpt34 /*6*/ array('##' => "key1", '&$r' => 'key2', '!' => "key3", '<>' =>'key4',
/PHP-8.3/ext/standard/tests/strings/
H A Djoin_variation4.phpt15 array("key1", "key2"),
H A Dimplode1.phpt37 array("key1", "key2"),
/PHP-8.3/ext/intl/collator/
H A Dcollator_sort.c225 char* key2 = ((collator_sort_key_index_t*)p2)->key; in collator_cmp_sort_keys() local
227 return strcmp( key1, key2 ); in collator_cmp_sort_keys()
/PHP-8.3/ext/soap/
H A Dphp_schema.c1876 smart_str key2 = {0}; in schema_attribute() local
1899 smart_str_appends(&key2, (char*)nsPtr->href); in schema_attribute()
1900 smart_str_appendc(&key2, ':'); in schema_attribute()
1901 smart_str_appends(&key2, (char*)attr->name); in schema_attribute()
1902 smart_str_0(&key2); in schema_attribute()
1903 zend_hash_add_ptr(newAttr->extraAttributes, key2.s, ext); in schema_attribute()
1904 smart_str_free(&key2); in schema_attribute()
/PHP-8.3/Zend/
H A Dzend_hash.c3072 zend_string *key1, *key2; in zend_hash_compare_impl() local
3100 key2 = NULL; in zend_hash_compare_impl()
3111 key2 = p->key; in zend_hash_compare_impl()
3116 if (key1 == NULL && key2 == NULL) { /* numeric indices */ in zend_hash_compare_impl()
3120 } else if (key1 != NULL && key2 != NULL) { /* string indices */ in zend_hash_compare_impl()
3121 if (ZSTR_LEN(key1) != ZSTR_LEN(key2)) { in zend_hash_compare_impl()
3122 return ZSTR_LEN(key1) > ZSTR_LEN(key2) ? 1 : -1; in zend_hash_compare_impl()
3125 result = memcmp(ZSTR_VAL(key1), ZSTR_VAL(key2), ZSTR_LEN(key1)); in zend_hash_compare_impl()

Completed in 35 milliseconds

123