/PHP-5.6/ext/json/tests/ |
H A D | bug41504.phpt | 9 var_dump(json_decode('{"":"value", "key":"value"}', true)); 10 var_dump(json_decode('{"key":"value", "":"value"}', true)); 22 ["key"]=> 26 ["key"]=>
|
/PHP-5.6/ext/spl/tests/ |
H A D | dit_004.phpt | 8 var_dump($a->key(), $b->key()); 14 var_dump($a->key(), $c->key());
|
H A D | iterator_039.phpt | 29 public function key() 77 NumericArrayIterator::key 83 NumericArrayIterator::key 89 NumericArrayIterator::key 95 NumericArrayIterator::key 109 NumericArrayIterator::key 116 NumericArrayIterator::key
|
H A D | bug42703.phpt | 20 public function key() { } 27 foreach($itit as $key => $value) { 28 echo $key, $value; 36 var_dump($itit->key());
|
/PHP-5.6/Zend/tests/ |
H A D | bug40509.phpt | 2 Bug #40509 (key() function changed behaviour if global array is used within function) 15 var_dump(key($arr["v"])); 17 var_dump(key($arr["v"])); 21 var_dump(key($arr["v"]));
|
/PHP-5.6/ext/dba/tests/ |
H A D | dba_tcadb.phpt | 25 "key number 6" written 26 Failed to write "key number 6" 2nd time 30 ["key number 6"]=> 42 "key number 6" written 43 Failed to write "key number 6" 2nd time 47 ["key number 6"]=>
|
/PHP-5.6/ext/phar/tests/ |
H A D | phar_buildfromiterator6.phpt | 2 Phar::buildFromIterator() iterator, key is int 25 function key() { 26 echo "key\n"; 27 return key($this->a); 57 key 59 Iterator myIterator returned an invalid key (must return a string)
|
/PHP-5.6/ext/phar/tests/tar/ |
H A D | phar_buildfromiterator6.phpt | 2 Phar::buildFromIterator() iterator, key is int tar-based 25 function key() { 26 echo "key\n"; 27 return key($this->a); 57 key 59 Iterator myIterator returned an invalid key (must return a string)
|
/PHP-5.6/ext/phar/tests/zip/ |
H A D | phar_buildfromiterator6.phpt | 2 Phar::buildFromIterator() iterator, key is int zip-based 25 function key() { 26 echo "key\n"; 27 return key($this->a); 57 key 59 Iterator myIterator returned an invalid key (must return a string)
|
/PHP-5.6/ext/dba/libcdb/ |
H A D | cdb.c | 46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos TSRMLS_DC) in cdb_match() argument 57 if (memcmp(buf, key, n)) in cdb_match() 60 key += n; in cdb_match() 129 int cdb_findnext(struct cdb *c, char *key, unsigned int len TSRMLS_DC) in cdb_findnext() argument 136 u = cdb_hash(key, len); in cdb_findnext() 166 switch(cdb_match(c, key, len, pos + 8 TSRMLS_CC)) { in cdb_findnext() 182 int cdb_find(struct cdb *c, char *key, unsigned int len TSRMLS_DC) in cdb_find() argument 185 return cdb_findnext(c, key, len TSRMLS_CC); in cdb_find()
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_rand_variation4.phpt | 6 * Description: Return key/keys for random entry/entries in the array 21 /*1*/ array(1 => 'one', 2 => 2, 1234567890 => 'big', -1 => 'negative key', 22 2.3 => 'float key', 0 => "zero key", 0.2 => 'decimal key', 23 2e2 => 'exp key1', -2e3 => 'negative exp key'), 27 '12twelve' => 12.00, "" => 'empty string', " " => "space key"), 41 "NULL" => 'key5', "\n" => 'newline as key', 42 "\t" => "tab as key", "'" => 'single quote as key', 43 '"' => 'double quote as key', "\0" => "null char as key")
|
H A D | array_column_error.phpt | 26 echo "\n-- Testing array_column() column key parameter should be a string or an integer (testing bo… 29 echo "\n-- Testing array_column() column key parameter should be a string or integer (testing array… 35 echo "\n-- Testing array_column() index key parameter should be a string or integer (testing array)… 63 -- Testing array_column() column key parameter should be a string or an integer (testing bool) -- 65 Warning: array_column(): The column key should be either a string or an integer in %s on line %d 68 -- Testing array_column() column key parameter should be a string or integer (testing array) -- 70 Warning: array_column(): The column key should be either a string or an integer in %s on line %d 73 -- Testing array_column() index key parameter should be a string or an integer (testing bool) -- 75 Warning: array_column(): The index key should be either a string or an integer in %s on line %d 78 -- Testing array_column() index key parameter should be a string or integer (testing array) -- [all …]
|
H A D | array_key_exists_variation5.phpt | 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 6 * Description: Checks if the given key or index exists in the array 21 echo "\n-- Attempt to match key in sub-array --\n"; 22 // this key is in the sub-array 34 -- Attempt to match key in sub-array --
|
/PHP-5.6/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 37 char *key; member 63 unlink(ls->key); in fpm_sockets_cleanup() 66 free(ls->key); in fpm_sockets_cleanup() 100 if (key == NULL) { in fpm_sockets_hash_op() 103 key = alloca(INET6_ADDRSTRLEN+10); in fpm_sockets_hash_op() 105 sprintf(key+strlen(key), ":%d", fpm_get_in_port(sa)); in fpm_sockets_hash_op() 112 strcpy(key, sa_un->sun_path); in fpm_sockets_hash_op() 129 if (!strcmp(ls->key, key)) { in fpm_sockets_hash_op() 154 ls->key = strdup(key); in fpm_sockets_hash_op() 401 unlink(ls->key); in fpm_sockets_init_main() [all …]
|
/PHP-5.6/ext/dba/ |
H A D | dba_inifile.c | 44 if (!key) { \ 48 ini_key = inifile_key_split((char*)key) /* keylen not needed here */ 98 php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Operation not possible"); in DBA_UPDATE_FUNC() 142 char *result = inifile_key_string(&dba->curr.key); in DBA_FIRSTKEY_FUNC() 154 if (!dba->curr.key.group && !dba->curr.key.name) { in DBA_NEXTKEY_FUNC() 159 char *result = inifile_key_string(&dba->curr.key); in DBA_NEXTKEY_FUNC()
|
/PHP-5.6/ext/mcrypt/tests/ |
H A D | mcrypt_decrypt_error.phpt | 11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i… 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 23 $key = 'string_val'; 28 var_dump( mcrypt_decrypt($cipher, $key, $data, $mode, $iv, $extra_arg) ); 33 $key = 'string_val'; 35 var_dump( mcrypt_decrypt($cipher, $key, $data) );
|
H A D | mcrypt_ecb_error.phpt | 13 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv) 14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv 25 $key = 'string_val'; 30 var_dump( mcrypt_ecb($cipher, $key, $data, $mode, $iv, $extra_arg) ); 35 $key = 'string_val'; 37 var_dump( mcrypt_ecb($cipher, $key, $data) );
|
H A D | mcrypt_encrypt_error.phpt | 11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i… 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 23 $key = 'string_val'; 28 var_dump( mcrypt_encrypt($cipher, $key, $data, $mode, $iv, $extra_arg) ); 33 $key = 'string_val'; 35 var_dump( mcrypt_encrypt($cipher, $key, $data) );
|
H A D | blowfish.phpt | 14 print "key plain crypt guess stat\n"; 23 list($key,$plain,$crypt) = preg_split("/[[:space:]]+/",$data); 25 $key, 28 $key = hex2bin(trim($key)); 32 mcrypt_generic_init ($td, $key, $null); 46 $key = hex2bin( "0123456789ABCDEFF0E1D2C3B4A59687" ); 50 mcrypt_generic_init( $td, $key, $iv ); 56 key plain crypt guess stat
|
H A D | mcrypt_cbc_error.phpt | 11 /* Prototype : string mcrypt_cbc(int cipher, string key, string data, int mode, string iv) 12 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 23 $key = 'string_val'; 28 var_dump( mcrypt_cbc($cipher, $key, $data, $mode, $iv, $extra_arg) ); 33 $key = 'string_val'; 35 var_dump( mcrypt_cbc($cipher, $key, $data) );
|
H A D | mcrypt_cbc_3des_decrypt.phpt | 11 /* Prototype : string mcrypt_cbc(int cipher, string key, string data, int mode, string iv) 12 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 51 echo "\n--- testing different key lengths\n"; 57 $key = b'123456789012345678901234'; 61 special_var_dump(mcrypt_cbc($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i])); 72 --- testing different key lengths 74 key length=8 81 key length=20 88 key length=24 93 key length=26
|
/PHP-5.6/ext/session/tests/ |
H A D | session_encode_error2.phpt | 103 Notice: session_encode(): Skipping numeric key 0 in %s on line %d 110 Notice: session_encode(): Skipping numeric key 1 in %s on line %d 131 Notice: session_encode(): Skipping numeric key 10 in %s on line %d 138 Notice: session_encode(): Skipping numeric key -10 in %s on line %d 145 Notice: session_encode(): Skipping numeric key %s in %s on line %d 152 Notice: session_encode(): Skipping numeric key 0 in %s on line %d 159 Notice: session_encode(): Skipping numeric key 0 in %s on line %d 176 Notice: session_encode(): Skipping numeric key 1 in %s on line %d 183 Notice: session_encode(): Skipping numeric key 0 in %s on line %d 190 Notice: session_encode(): Skipping numeric key 1 in %s on line %d [all …]
|
/PHP-5.6/ext/sysvshm/tests/ |
H A D | 006.phpt | 8 $key = ftok(__FILE__, 't'); 9 $s = shm_attach($key, 1024); 36 Warning: shm_remove_var(): variable key -10 doesn't exist in %s006.php on line %d 41 Warning: shm_get_var(): variable key 1 doesn't exist in %s006.php on line %d 44 Warning: shm_remove_var(): variable key 1 doesn't exist in %s006.php on line %d 47 Warning: shm_get_var(): variable key 1 doesn't exist in %s006.php on line %d
|
/PHP-5.6/ext/standard/ |
H A D | http.c | 34 char *key = NULL; in php_url_encode_hash_ex() local 59 …(key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXIST… in php_url_encode_hash_ex() 62 if (key_type == HASH_KEY_IS_STRING && key_len && key[key_len-1] == '\0') { in php_url_encode_hash_ex() 68 if (key && *key == '\0' && type != NULL) { in php_url_encode_hash_ex() 72 if (zend_check_property_access(zobj, key, key_len TSRMLS_CC) != SUCCESS) { in php_url_encode_hash_ex() 76 zend_unmangle_property_name_ex(key, key_len, &tmp, (const char**)&key, &key_len); in php_url_encode_hash_ex() 86 ekey = php_raw_url_encode(key, key_len, &ekey_len); in php_url_encode_hash_ex() 88 ekey = php_url_encode(key, key_len, &ekey_len); in php_url_encode_hash_ex() 154 ekey = php_raw_url_encode(key, key_len, &ekey_len); in php_url_encode_hash_ex() 156 ekey = php_url_encode(key, key_len, &ekey_len); in php_url_encode_hash_ex()
|
/PHP-5.6/ext/openssl/tests/ |
H A D | bug38255.phpt | 2 openssl key from zval leaks 33 Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d 35 Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d 38 Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d
|