/PHP-5.6/ext/standard/tests/array/ |
H A D | array_key_exists_variation8.phpt | 117 -- $key arguments are int data: 122 -- $key arguments are float data: 149 -- $key arguments are unset data: 153 -- $key arguments are int data: 189 -- $key arguments are int data: 225 -- $key arguments are int data: 261 -- $key arguments are int data: 297 -- $key arguments are int data: 333 -- $key arguments are int data: 369 -- $key arguments are int data: [all …]
|
H A D | each.phpt | 115 ["key"]=> 126 ["key"]=> 138 ["key"]=> 149 ["key"]=> 161 ["key"]=> 172 ["key"]=> 184 ["key"]=> 194 ["key"]=> 204 ["key"]=> 214 ["key"]=> [all …]
|
H A D | key_error.phpt | 2 Test key() function : error conditions - Pass incorrect number of args 5 /* Prototype : mixed key(array $array_arg) 11 * Pass incorrect number of arguments to key() to test behaviour 14 echo "*** Testing key() : error conditions ***\n"; 17 echo "\n-- Testing key() function with Zero arguments --\n"; 18 var_dump( key() ); 24 var_dump( key($array_arg, $extra_arg) ); 28 *** Testing key() : error conditions *** 30 -- Testing key() function with Zero arguments -- 32 Warning: key() expects exactly 1 parameter, 0 given in %s on line %d [all …]
|
H A D | key_variation1.phpt | 2 Test key() function : usage variations - Pass different data types as $array_arg arg. 5 /* Prototype : mixed key(array $array_arg) 11 * Pass different data types as $array_arg argument to test behaviour of key() 14 echo "*** Testing key() : usage variations ***\n"; 86 // loop through each element of $inputs to check the behavior of key() 90 var_dump( key($input) ); 98 *** Testing key() : usage variations *** 147 Warning: key() expects parameter 1 to be array, null given in %s on line %d 152 Warning: key() expects parameter 1 to be array, null given in %s on line %d 208 Warning: key() expects parameter 1 to be array, null given in %s on line %d [all …]
|
/PHP-5.6/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-5.6/ext/intl/tests/ |
H A D | collator_get_sort_key_variant6.phpt | 60 key: 292b2d01070107 62 key: 292b2f01070107 64 key: 29292901070107 68 key: 600601050105 70 key: 5b01050105 72 key: 0101 74 key: 0101 76 key: 1801050105 78 key: 5901050105 80 key: 3901050105 [all …]
|
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 | 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_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 …]
|
/PHP-5.6/ext/dba/libinifile/ |
H A D | inifile.c | 125 return key; in inifile_key_split() 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() 253 ln.key.group = estrdup(dba->next.key.group); 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() 426 switch(inifile_key_cmp(&ln.key, key TSRMLS_CC)) { in inifile_filter() [all …]
|
/PHP-5.6/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-5.6/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-5.6/ext/gd/ |
H A D | gdcache.c | 151 int key; member 156 cacheTest( void *map, void *key ) in cacheTest() argument 158 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-5.6/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-5.6/ext/hash/tests/ |
H A D | hash_hmac_basic.phpt | 17 $key = 'secret'; 19 echo "adler32: " . hash_hmac('adler32', $content, $key) . "\n"; 20 echo "crc32: " . hash_hmac('crc32', $content, $key) . "\n"; 21 echo "gost: " . hash_hmac('gost', $content, $key) . "\n"; 23 echo "md2: " . hash_hmac('md2', $content, $key) . "\n"; 24 echo "md4: " . hash_hmac('md4', $content, $key) . "\n"; 25 echo "md5: " . hash_hmac('md5', $content, $key) . "\n"; 30 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n"; 31 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n"; 32 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n"; [all …]
|
H A D | hash_hmac_file_basic.phpt | 36 $key = 'secret'; 40 echo "crc32: " . hash_hmac_file('crc32', $file, $key) . "\n"; 41 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n"; 43 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n"; 44 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n"; 45 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n"; 50 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n"; 51 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n"; 52 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n"; 53 echo "sha512: " . hash_hmac_file('sha512', $file, $key) . "\n"; [all …]
|
/PHP-5.6/tests/lang/ |
H A D | foreachLoop.009.phpt | 56 key: 0; value: original.0 57 key: 1; value: original.1 60 key: 0; value: original.0 67 key: 3; value: new.0 68 key: 4; value: new.1 69 key: 5; value: new.2 70 key: 6; value: new.3 77 key: 3; value: new.0 78 key: 4; value: new.1 79 key: 5; value: new.2 [all …]
|
/PHP-5.6/ext/mbstring/oniguruma/ |
H A D | st.c | 20 st_data_t key; member 59 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key)) argument 60 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins) argument 271 entry->key = key;\ 303 st_data_t key; 398 if (EQUAL(table, *key, ptr->key)) { 402 *key = ptr->key; 408 if (EQUAL(table, ptr->next->key, *key)) { 413 *key = tmp->key; 441 if ((ptr->key != never) && EQUAL(table, ptr->key, *key)) { [all …]
|
/PHP-5.6/ext/openssl/tests/ |
H A D | openssl_pkey_export_basic.phpt | 2 openssl_pkey_export() with EC key 10 $key = openssl_pkey_get_private('file://' . dirname(__FILE__) . '/private_ec.key'); 11 var_dump($key); 15 var_dump(openssl_pkey_export($key, $output, NULL, $config_arg)); 18 // Load the private key from the exported pem string 22 // Export key with passphrase 23 openssl_pkey_export($key, $output, 'passphrase', $config_arg); 28 // Read public key 31 // The details are the same for a public or private key 46 resource(%d) of type (OpenSSL key) [all …]
|
H A D | 001.phpt | 2 OpenSSL private key functions 10 echo "Creating private key\n"; 24 die("failed to create private key"); 31 echo "Export key to file\n"; 35 echo "Load key from file - array syntax\n"; 44 echo "Load key using direct syntax\n"; 69 Creating private key 70 Export key to file 71 Load key from file - array syntax 72 Load key using direct syntax [all …]
|
/PHP-5.6/ext/hash/ |
H A D | hash_gost.c | 41 round(tables, key[0], key[1]) \ 42 round(tables, key[2], key[3]) \ 43 round(tables, key[4], key[5]) \ 44 round(tables, key[6], key[7]) \ 45 round(tables, key[0], key[1]) \ 46 round(tables, key[2], key[3]) \ 47 round(tables, key[4], key[5]) \ 48 round(tables, key[6], key[7]) \ 49 round(tables, key[0], key[1]) \ 50 round(tables, key[2], key[3]) \ [all …]
|
/PHP-5.6/ext/spl/tests/ |
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";
|
H A D | iterator_020.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";
|