/PHP-5.4/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.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-5.4/ext/intl/tests/ |
H A D | collator_get_sort_key_variant3.phpt | 60 key: 292b2d01070107 62 key: 292b2f01070107 64 key: 29292901070107 68 key: 5e0901050105 70 key: 5b01050105 72 key: 0101 74 key: 0101 76 key: 1a01050105 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 …]
|
/PHP-5.4/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() 302 ln.key.group = estrdup(dba->curr.key.group ? dba->curr.key.group : ""); in inifile_nextkey() 306 return ln.key.group || ln.key.name; in inifile_nextkey() 337 if (key->group && strlen(key->group)) { in inifile_find_group() 371 ln.key.group = estrdup(key->group); in inifile_next_group() 425 switch(inifile_key_cmp(&ln.key, key TSRMLS_CC)) { in inifile_filter() 510 if (!value || (key->name && strlen(key->name))) { in inifile_delete_replace_append() [all …]
|
/PHP-5.4/ext/gd/ |
H A D | gdcache.c | 146 int key; member 151 cacheTest( void *map, void *key ) in cacheTest() argument 153 return (((key_value_t *)map)->key == *(int *)key); in cacheTest() 165 map->key = *(int *)key; in cacheFetch() 182 int elem, key; in main() local 186 key = 20; in main() 188 key = 30; in main() 190 key = 40; in main() 192 key = 50; in main() 194 key = 30; in main() [all …]
|
/PHP-5.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-5.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-5.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-5.4/ext/mcrypt/tests/ |
H A D | mcrypt_rijndael128_256BitKey.phpt | 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 17 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 22 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 27 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv 50 foreach ($keys as $key) { 62 --- testing different key lengths 64 key length=20 68 key length=24 72 key length=30 76 key length=32 [all …]
|
H A D | mcrypt_ecb_3des_encrypt.phpt | 12 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv 39 echo "\n--- testing different key lengths\n"; 40 foreach ($keys as $key) { 41 echo "\nkey length=".strlen($key)."\n"; 42 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv))); 45 $key = b'1234567890123456'; 56 --- testing different key lengths 58 key length=8 61 key length=20 64 key length=24 [all …]
|
H A D | mcrypt_encrypt_3des_ecb.phpt | 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 31 echo "\n--- testing different key lengths\n"; 32 foreach ($keys as $key) { 33 echo "\nkey length=".strlen($key)."\n"; 34 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode))); 37 $key = b'12345678'; 56 --- testing different key lengths 58 key length=8 61 key length=20 64 key length=24 [all …]
|
/PHP-5.4/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.4/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.4/ext/mbstring/oniguruma/ |
H A D | st.c | 36 st_data_t key; member 75 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key)) argument 76 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins) argument 287 entry->key = key;\ 319 st_data_t key; 414 if (EQUAL(table, *key, ptr->key)) { 418 *key = ptr->key; 424 if (EQUAL(table, ptr->next->key, *key)) { 429 *key = tmp->key; 457 if ((ptr->key != never) && EQUAL(table, ptr->key, *key)) { [all …]
|
/PHP-5.4/ext/hash/ |
H A D | hash_gost.c | 41 round(key[0], key[1]) \ 42 round(key[2], key[3]) \ 43 round(key[4], key[5]) \ 44 round(key[6], key[7]) \ 45 round(key[0], key[1]) \ 46 round(key[2], key[3]) \ 47 round(key[4], key[5]) \ 48 round(key[6], key[7]) \ 49 round(key[0], key[1]) \ 50 round(key[2], key[3]) \ [all …]
|
/PHP-5.4/ext/openssl/tests/ |
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.4/ext/spl/tests/ |
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";
|
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-5.4/ext/dba/ |
H A D | dba_cdb.c | 142 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len TSRMLS_CC) argument 145 # define php_cdb_findnext(cdb, key, len) cdb_findnext(cdb, key, len) argument 146 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 250 char *key; in DBA_FIRSTKEY_FUNC() local 273 efree(key); in DBA_FIRSTKEY_FUNC() 274 key = NULL; in DBA_FIRSTKEY_FUNC() 283 return key; in DBA_FIRSTKEY_FUNC() 291 char *key; in DBA_NEXTKEY_FUNC() local 305 efree(key); in DBA_NEXTKEY_FUNC() 306 key = NULL; in DBA_NEXTKEY_FUNC() [all …]
|