/PHP-8.2/ext/standard/tests/array/ |
H A D | array_key_exists_variation8.phpt | 98 -- $key arguments are int data: 123 -- $key arguments are unset data: 127 -- $key arguments are int data: 156 -- $key arguments are int data: 185 -- $key arguments are int data: 214 -- $key arguments are int data: 243 -- $key arguments are int data: 272 -- $key arguments are int data: 301 -- $key arguments are int data: 330 -- $key arguments are int data: [all …]
|
/PHP-8.2/ext/intl/tests/ |
H A D | collator_get_sort_key.phpt | 62 key: 27292b01070107 64 key: 27292d01070107 66 key: 27272701070107 70 key: 5c0a01050105 72 key: 5901050105 74 key: 0101 76 key: 0101 78 key: 1801050105 80 key: 5701050105 82 key: 3701050105 [all …]
|
H A D | collator_get_sort_key_variant2.phpt | 62 key: 27292b01070107 64 key: 27292d01070107 66 key: 27272701070107 68 key: 5c0a0a01060106 70 key: 5c0a01050105 72 key: 5901050105 74 key: 0101 76 key: 1801050105 78 key: 5701050105 80 key: 3701050105 [all …]
|
H A D | collator_get_sort_key_variant3.phpt | 62 key: 292b2d01070107 64 key: 292b2f01070107 66 key: 29292901070107 68 key: 5e090901060106 70 key: 5e0901050105 72 key: 5b01050105 74 key: 0101 76 key: 1a01050105 78 key: 5901050105 80 key: 3901050105 [all …]
|
H A D | collator_get_sort_key_variant4.phpt | 62 key: 292b2d01070107 64 key: 292b2f01070107 66 key: 29292901070107 68 key: 5e060601060106 70 key: 5e0601050105 72 key: 5b01050105 74 key: 0101 76 key: 1a01050105 78 key: 5901050105 80 key: 3901050105 [all …]
|
H A D | collator_get_sort_key_variant5.phpt | 62 key: 292b2d01070107 64 key: 292b2f01070107 66 key: 29292901070107 68 key: 60060601060106 70 key: 600601050105 72 key: 5b01050105 74 key: 0101 76 key: 1801050105 78 key: 5901050105 80 key: 3901050105 [all …]
|
H A D | collator_get_sort_key_variant6.phpt | 62 key: 292b2d01070107 64 key: 292b2f01070107 66 key: 29292901070107 68 key: 60060601060106 70 key: 600601050105 72 key: 5b01050105 74 key: 0101 76 key: 1801050105 78 key: 5901050105 80 key: 3901050105 [all …]
|
H A D | collator_get_sort_key_variant7.phpt | 62 key: 2a2c2e01070107 64 key: 2a2c3001070107 66 key: 2a2a2a01070107 68 key: 61060601060106 70 key: 610601050105 72 key: 5c01050105 74 key: 0101 76 key: 1901050105 78 key: 5a01050105 80 key: 3a01050105 [all …]
|
H A D | collator_get_sort_key_variant_icu76_1.phpt | 61 key: 2b2d2f01070107 63 key: 2b2d3101070107 65 key: 2b2b2b01070107 67 key: 62060601060106 69 key: 620601050105 71 key: 5d01050105 73 key: 0101 75 key: 1801050105 77 key: 5b01050105 79 key: 3b01050105 [all …]
|
/PHP-8.2/ext/dba/libinifile/ |
H A D | inifile.c | 130 if (key->group && *key->group) { in inifile_key_string() 132 spprintf(&result, 0, "[%s]%s", key->group, key->name ? key->name : ""); in inifile_key_string() 246 …if (skip == -1 && dba->next.key.group && dba->next.key.name && !inifile_key_cmp(&dba->next.key, ke… in inifile_fetch() 260 if (!(res=inifile_key_cmp(&ln.key, key))) { in inifile_fetch() 297 ln.key.group = estrdup(dba->curr.key.group ? dba->curr.key.group : ""); in inifile_nextkey() 301 return ln.key.group || ln.key.name; in inifile_nextkey() 331 if (key->group && strlen(key->group)) { in inifile_find_group() 365 ln.key.group = estrdup(key->group); in inifile_next_group() 367 if (inifile_key_cmp(&ln.key, key) == 2) { in inifile_next_group() 418 switch(inifile_key_cmp(&ln.key, key)) { in inifile_filter() [all …]
|
/PHP-8.2/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-8.2/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: "; 64 sub-key 'non_existent' is not set. 65 sub-key 1 is set: string(1) "o" 67 sub-sub-key 'sub_sub' is not set. 70 sub-key 'non_existent' is empty. [all …]
|
H A D | bug79793.phpt | 6 $key = "foo"; 7 $key .= "bar"; 8 set_error_handler(function($_, $m) use (&$key) { 10 $key .= "baz"; 14 $ary[$key]++; 16 $ary[$key] += 1; 21 Undefined array key "foobar" 26 Undefined array key "foobarbaz"
|
/PHP-8.2/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-8.2/ext/hash/tests/ |
H A D | hash_hmac_basic.phpt | 9 $key = 'secret'; 11 echo "gost: " . hash_hmac('gost', $content, $key) . "\n"; 12 echo "haval128,3: " . hash_hmac('haval128,3', $content, $key) . "\n"; 13 echo "md2: " . hash_hmac('md2', $content, $key) . "\n"; 14 echo "md4: " . hash_hmac('md4', $content, $key) . "\n"; 15 echo "md5: " . hash_hmac('md5', $content, $key) . "\n"; 20 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n"; 21 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n"; 22 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n"; 23 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n"; [all …]
|
H A D | hash_hmac_file_basic.phpt | 28 $key = 'secret'; 31 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n"; 33 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n"; 34 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n"; 35 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n"; 36 echo "ripemd128: " . hash_hmac_file('ripemd128', $file, $key) . "\n"; 40 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n"; 41 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n"; 42 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n"; 43 echo "sha512: " . hash_hmac_file('sha512', $file, $key) . "\n"; [all …]
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug80724.phpt | 6 foreach ($iterator as $key => $value) { 7 echo var_dump(hasSeparator($key)); 11 echo var_dump(hasSeparator($iterator->key())); 14 echo var_dump(hasSeparator($iterator->key())); 17 echo var_dump(hasSeparator($iterator->key())); 20 foreach ($iterator2 as $key => $value) { 21 echo var_dump(hasSeparator($key)); 25 echo var_dump(hasSeparator($iterator2->key())); 28 echo var_dump(hasSeparator($iterator2->key())); 31 echo var_dump(hasSeparator($iterator2->key())); [all …]
|
/PHP-8.2/ext/dba/ |
H A D | dba_cdb.c | 137 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len) argument 138 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 141 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len) argument 142 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 155 if (php_cdb_find(&cdb->c, ZSTR_VAL(key), ZSTR_LEN(key)) == 1) { in DBA_FETCH_FUNC() 197 if (php_cdb_find(&cdb->c, ZSTR_VAL(key), ZSTR_LEN(key)) == 1) in DBA_EXISTS_FUNC() 244 zend_string *key; in DBA_FIRSTKEY_FUNC() local 268 key = NULL; in DBA_FIRSTKEY_FUNC() 276 return key; in DBA_FIRSTKEY_FUNC() 299 key = NULL; in DBA_NEXTKEY_FUNC() [all …]
|
/PHP-8.2/ext/openssl/tests/ |
H A D | 001.phpt | 2 OpenSSL private key functions 11 echo "Creating private key\n"; 17 die("failed to create private key"); 21 $key_file_name = __DIR__ . '/001-tmp.key'; 26 echo "Export key to file\n"; 43 echo "Load key using direct syntax\n"; 72 Creating private key 73 Export key to file 75 Load key from file - array syntax 78 Load key using direct syntax [all …]
|
/PHP-8.2/ext/standard/ |
H A D | mail.c | 110 while (len < key->len) { in php_mail_build_headers_check_field_name() 111 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name() 152 smart_str_append(s, key); in php_mail_build_headers_elem() 158 php_mail_build_headers_elems(s, key, val); in php_mail_build_headers_elem() 181 php_mail_build_headers_elem(s, key, tmp_val); in php_mail_build_headers_elems() 189 zend_string *key; in php_mail_build_headers() local 193 ZEND_HASH_FOREACH_KEY_VAL(headers, idx, key, val) { in php_mail_build_headers() 194 if (!key) { in php_mail_build_headers() 211 PHP_MAIL_BUILD_HEADER_CHECK("cc", s, key, val); in php_mail_build_headers() 213 PHP_MAIL_BUILD_HEADER_CHECK("bcc", s, key, val); in php_mail_build_headers() [all …]
|
H A D | php_mail.h | 25 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument 28 php_mail_build_headers_elem(&s, key, val); \ 30 if (zend_string_equals_literal_ci(key, target)) { \ 34 php_mail_build_headers_elems(&s, key, val); \ 36 …zend_type_error("Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_t… 41 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument 44 php_mail_build_headers_elem(&s, key, val); \ 46 php_mail_build_headers_elems(&s, key, val); \ 48 …zend_type_error("Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_t…
|
/PHP-8.2/Zend/tests/weakrefs/ |
H A D | weakrefs_006.phpt | 30 ["key"]=> 38 ["key"]=> 46 ["key"]=> 54 ["key"]=> 62 ["key"]=> 70 ["key"]=> 78 ["key"]=> 86 ["key"]=> 94 ["key"]=> 102 ["key"]=> [all …]
|
/PHP-8.2/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-8.2/ext/sodium/tests/ |
H A D | crypto_stream_xchacha20.phpt | 10 $key = sodium_crypto_stream_xchacha20_keygen(); 13 $stream = sodium_crypto_stream_xchacha20($len, $nonce, $key); 16 $stream2 = sodium_crypto_stream_xchacha20($len, $nonce, $key); 19 $stream3 = sodium_crypto_stream_xchacha20($len, $nonce, $key); 21 $key = sodium_crypto_stream_keygen(); 22 $stream4 = sodium_crypto_stream_xchacha20($len, $nonce, $key); 31 $stream5 = sodium_crypto_stream_xchacha20_xor($stream, $nonce, $key); 33 $stream6 = sodium_crypto_stream_xchacha20_xor($stream5, $nonce, $key); 54 sodium_crypto_stream_xchacha20(-1, $nonce, $key); 59 sodium_crypto_stream_xchacha20($len, substr($nonce, 1), $key); [all …]
|
/PHP-8.2/Zend/tests/numeric_strings/ |
H A D | array_offset.phpt | 33 Warning: Undefined array key "7.5" in %s on line %d 36 Warning: Undefined array key " 7" in %s on line %d 39 Warning: Undefined array key " 7.5" in %s on line %d 42 Warning: Undefined array key " 7 " in %s on line %d 48 Warning: Undefined array key "7 " in %s on line %d 51 Warning: Undefined array key "7.5 " in %s on line %d 54 Warning: Undefined array key "7str" in %s on line %d 57 Warning: Undefined array key "7.5str" in %s on line %d 78 Warning: Undefined array key "0xA" in %s on line %d 81 Warning: Undefined array key "0b10" in %s on line %d [all …]
|