/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mk_emoji_tbl.pl | 80 $s = $key; 85 $docomo_v[$key-$docomo_min] = $docomo{$key}; 188 $s = $key; 196 $kddi_v1[$key-$kddi_min1] = $kddi{$key}; 198 $kddi_v2[$key-$kddi_min2] = $kddi{$key}; 308 $s = $key; 311 $v = $key - $sb_min1; 315 $sb_v1[$key-$sb_min1] = $softbank{$key}; 317 $sb_v2[$key-$sb_min2] = $softbank{$key}; 319 $sb_v3[$key-$sb_min3] = $softbank{$key}; [all …]
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_key_exists_variation8.phpt | 116 -- $key arguments are int data: 121 -- $key arguments are float data: 148 -- $key arguments are unset data: 152 -- $key arguments are int data: 188 -- $key arguments are int data: 224 -- $key arguments are int data: 260 -- $key arguments are int data: 296 -- $key arguments are int data: 332 -- $key arguments are int data: 368 -- $key arguments are int data: [all …]
|
H A D | each.phpt | 116 ["key"]=> 127 ["key"]=> 139 ["key"]=> 150 ["key"]=> 162 ["key"]=> 173 ["key"]=> 185 ["key"]=> 195 ["key"]=> 205 ["key"]=> 215 ["key"]=> [all …]
|
/PHP-7.4/ext/intl/tests/ |
H A D | collator_get_sort_key_variant7.phpt | 60 key: 2a2c2e01070107 62 key: 2a2c3001070107 64 key: 2a2a2a01070107 68 key: 610601050105 70 key: 5c01050105 72 key: 0101 74 key: 0101 76 key: 1901050105 78 key: 5a01050105 80 key: 3a01050105 [all …]
|
H A D | collator_get_sort_key_variant4.phpt | 61 key: 292b2d01070107 63 key: 292b2f01070107 65 key: 29292901070107 69 key: 5e0601050105 71 key: 5b01050105 73 key: 0101 75 key: 0101 77 key: 1a01050105 79 key: 5901050105 81 key: 3901050105 [all …]
|
H A D | collator_get_sort_key_variant5.phpt | 61 key: 292b2d01070107 63 key: 292b2f01070107 65 key: 29292901070107 69 key: 600601050105 71 key: 5b01050105 73 key: 0101 75 key: 0101 77 key: 1801050105 79 key: 5901050105 81 key: 3901050105 [all …]
|
H A D | collator_get_sort_key.phpt | 61 key: 27292b01070107 63 key: 27292d01070107 65 key: 27272701070107 69 key: 5c0a01050105 71 key: 5901050105 73 key: 0101 75 key: 0101 77 key: 1801050105 79 key: 5701050105 81 key: 3701050105 [all …]
|
H A D | collator_get_sort_key_variant2.phpt | 61 key: 27292b01070107 63 key: 27292d01070107 65 key: 27272701070107 69 key: 5c0a01050105 71 key: 5901050105 73 key: 0101 75 key: 0101 77 key: 1801050105 79 key: 5701050105 81 key: 3701050105 [all …]
|
H A D | collator_get_sort_key_variant3.phpt | 61 key: 292b2d01070107 63 key: 292b2f01070107 65 key: 29292901070107 69 key: 5e0901050105 71 key: 5b01050105 73 key: 0101 75 key: 0101 77 key: 1a01050105 79 key: 5901050105 81 key: 3901050105 [all …]
|
H A D | collator_get_sort_key_variant6.phpt | 61 key: 292b2d01070107 63 key: 292b2f01070107 65 key: 29292901070107 69 key: 600601050105 71 key: 5b01050105 73 key: 0101 75 key: 0101 77 key: 1801050105 79 key: 5901050105 81 key: 3901050105 [all …]
|
/PHP-7.4/ext/dba/libinifile/ |
H A D | inifile.c | 132 if (key->group && *key->group) { in inifile_key_string() 134 spprintf(&result, 0, "[%s]%s", key->group, key->name ? key->name : ""); in inifile_key_string() 250 …if (skip == -1 && dba->next.key.group && dba->next.key.name && !inifile_key_cmp(&dba->next.key, ke… in inifile_fetch() 264 if (!(res=inifile_key_cmp(&ln.key, key))) { in inifile_fetch() 303 ln.key.group = estrdup(dba->curr.key.group ? dba->curr.key.group : ""); in inifile_nextkey() 307 return ln.key.group || ln.key.name; in inifile_nextkey() 338 if (key->group && strlen(key->group)) { in inifile_find_group() 372 ln.key.group = estrdup(key->group); in inifile_next_group() 374 if (inifile_key_cmp(&ln.key, key) == 2) { in inifile_next_group() 426 switch(inifile_key_cmp(&ln.key, key)) { in inifile_filter() [all …]
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gdcache.c | 153 int key; member 159 cacheTest (void *map, void *key) in cacheTest() argument 161 return (((key_value_t *) map)->key == *(int *) key); in cacheTest() 170 map->key = *(int *) key; in cacheFetch() 187 int elem, key; in main() local 191 key = 20; in main() 193 key = 30; in main() 195 key = 40; in main() 197 key = 50; in main() 199 key = 30; in main() [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | bug60362.phpt | 14 echo "sub-key 1 is set: "; 17 echo "sub-key 1 is not set.\n"; 22 echo "sub-key 'sub_sub' is set: "; 28 echo "sub-sub-key 0 is set: "; 42 echo "sub-key 1 is empty.\n"; 44 echo "sub-key 1 is not empty: "; 63 sub-key 'non_existent' is not set. 64 sub-key 1 is set: string(1) "o" 66 sub-sub-key 'sub_sub' is not set. 69 sub-key 'non_existent' is empty. [all …]
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | bug47859.phpt | 2 Bug #47859 (parse_ini_file() does not like asterisk (*) in key in the beginning) 5 var_dump(parse_ini_string('*key = "*value"')); 6 var_dump(parse_ini_string('-key = "-value"')); 9 var_dump(parse_ini_string('key* = "value*"')); 10 var_dump(parse_ini_string('key.*.* = "value.*.*"')); 11 var_dump(parse_ini_string('*.*.key = "*.*.value"')); 16 ["*key"]=> 20 ["-key"]=> 28 ["key*"]=> 32 ["key.*.*"]=> [all …]
|
/PHP-7.4/ext/standard/ |
H A D | mail.c | 124 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name() 183 zend_string *key; in php_mail_build_headers() local 190 if (!key) { in php_mail_build_headers() 197 if (!strncasecmp("orig-date", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers() 204 if (!strncasecmp("from", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers() 211 if (!strncasecmp("sender", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers() 218 if (!strncasecmp("reply-to", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers() 225 if (!strncasecmp("to", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers() 229 if (!strncasecmp("cc", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers() 236 if (!strncasecmp("bcc", ZSTR_VAL(key), ZSTR_LEN(key))) { in php_mail_build_headers() [all …]
|
H A D | php_mail.h | 30 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument 33 php_mail_build_headers_elem(&s, key, val); \ 35 if (!strncasecmp(target, ZSTR_VAL(key), ZSTR_LEN(key))) { \ 39 php_mail_build_headers_elems(&s, key, val); \ 41 …LL, E_WARNING, "Extra header element '%s' cannot be other than string or array.", ZSTR_VAL(key)); \ 46 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument 49 php_mail_build_headers_elem(&s, key, val); \ 51 php_mail_build_headers_elems(&s, key, val); \ 53 …LL, E_WARNING, "Extra header element '%s' cannot be other than string or array.", ZSTR_VAL(key)); \
|
/PHP-7.4/ext/openssl/tests/ |
H A D | 001.phpt | 2 OpenSSL private key functions 10 echo "Creating private key\n"; 16 die("failed to create private key"); 20 $key_file_name = __DIR__ . '/001-tmp.key'; 25 echo "Export key to file\n"; 42 echo "Load key using direct syntax\n"; 66 Creating private key 67 Export key to file 69 Load key from file - array syntax 70 Load key using direct syntax [all …]
|
H A D | openssl_pkey_export_basic.phpt | 2 openssl_pkey_export() with EC key 12 $key = openssl_pkey_get_private('file://' . __DIR__ . '/private_ec.key'); 13 var_dump($key); 20 // Load the private key from the exported pem string 24 // Export key with passphrase 25 openssl_pkey_export($key, $output, 'passphrase', $config_arg); 30 // Read public key 33 // The details are the same for a public or private key, expect the private key parameter 'd 42 var_dump(is_resource($key)); 47 resource(%d) of type (OpenSSL key) [all …]
|
/PHP-7.4/ext/hash/tests/ |
H A D | hash_hmac_basic.phpt | 15 $key = 'secret'; 17 echo "gost: " . hash_hmac('gost', $content, $key) . "\n"; 19 echo "md2: " . hash_hmac('md2', $content, $key) . "\n"; 20 echo "md4: " . hash_hmac('md4', $content, $key) . "\n"; 21 echo "md5: " . hash_hmac('md5', $content, $key) . "\n"; 22 echo "ripemd128: " . hash_hmac('ripemd128', $content, $key) . "\n"; 26 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n"; 27 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n"; 28 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n"; 29 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n"; [all …]
|
H A D | hash_hmac_file_basic.phpt | 34 $key = 'secret'; 37 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n"; 39 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n"; 40 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n"; 41 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n"; 46 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n"; 47 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n"; 48 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n"; 49 echo "sha512: " . hash_hmac_file('sha512', $file, $key) . "\n"; 50 echo "snefru: " . hash_hmac_file('snefru', $file, $key) . "\n"; [all …]
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_hash.c | 99 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_update() 136 entry->key = key; in zend_accel_hash_update() 157 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_find_ex() 184 ZSTR_VAL(key), in zend_accel_hash_find() 185 ZSTR_LEN(key), in zend_accel_hash_find() 186 zend_string_hash_val(key), in zend_accel_hash_find() 197 ZSTR_VAL(key), in zend_accel_hash_find_entry() 198 ZSTR_LEN(key), in zend_accel_hash_find_entry() 210 key, in zend_accel_hash_str_find() 223 key, in zend_accel_hash_str_find_entry() [all …]
|
/PHP-7.4/tests/lang/ |
H A D | foreachLoop.009.phpt | 55 key: 0; value: original.0 56 key: 1; value: original.1 57 key: 2; value: original.2 60 key: 0; value: original.0 61 key: 1; value: original.1 64 key: 0; value: original.0 65 key: 1; value: original.1 72 key: 3; value: new.0 73 key: 4; value: new.1 74 key: 5; value: new.2 [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug68128-USE_KEY.phpt | 6 $arrayIterator = new ArrayIterator(array('key 1' => 'value 1', 'key 2' => ['value 2'])); 7 $regexIterator = new RegexIterator($arrayIterator, '/^key/', RegexIterator::MATCH, RegexIterator::U… 9 foreach ($regexIterator as $key => $value) { 10 var_dump($key, $value); 15 string(5) "key 1" 17 string(5) "key 2"
|
H A D | iterator_013.phpt | 10 foreach($it as $key=>$val) 12 echo "$key=>$val\n"; 19 foreach($it as $key=>$val) 21 echo "$key=>$val\n"; 26 foreach($it as $key=>$val) 28 echo "$key=>$val\n"; 35 foreach(new NoRewindIterator($it) as $key=>$val) 37 echo "$key=>$val\n"; 42 foreach($it as $key=>$val) 44 echo "$key=>$val\n";
|
/PHP-7.4/ext/dba/ |
H A D | dba_cdb.c | 139 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len) argument 140 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 144 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 248 char *key; in DBA_FIRSTKEY_FUNC() local 271 efree(key); in DBA_FIRSTKEY_FUNC() 272 key = NULL; in DBA_FIRSTKEY_FUNC() 281 return key; in DBA_FIRSTKEY_FUNC() 289 char *key; in DBA_NEXTKEY_FUNC() local 303 efree(key); in DBA_NEXTKEY_FUNC() 304 key = NULL; in DBA_NEXTKEY_FUNC() [all …]
|