Home
last modified time | relevance | path

Searched refs:key (Results 126 – 150 of 1144) sorted by relevance

12345678910>>...46

/PHP-5.5/ext/dba/tests/
H A Ddba_tcadb.phpt25 "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.5/ext/dba/libcdb/
H A Dcdb.c46 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.5/ext/standard/tests/array/
H A Darray_column_error.phpt26 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 Darray_rand_variation4.phpt6 * 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 Darray_key_exists_variation5.phpt5 /* 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 --
H A Darray_slice_variation7.phpt117 -- Iteration 1 : key type is int --
141 -- Iteration 2 : key type is float --
161 -- Iteration 3 : key type is extreme floats --
177 -- Iteration 4 : key type is null uppercase --
189 -- Iteration 5 : key type is null lowercase --
201 -- Iteration 6 : key type is bool lowercase --
217 -- Iteration 7 : key type is bool uppercase --
233 -- Iteration 8 : key type is empty double quotes --
257 -- Iteration 10 : key type is string --
277 -- Iteration 11 : key type is undefined --
[all …]
H A Darray_key_exists_basic.phpt5 /* Prototype : bool array_key_exists(mixed $key, array $search)
6 * Description: Checks if the given key or index exists in the array
17 $key1 = 'key';
19 $search = array('one', 'key' => 'value', 'val');
H A Darray_key_exists_error.phpt5 /* Prototype : bool array_key_exists(mixed $key, array $search)
6 * Description: Checks if the given key or index exists in the array
19 $key = 1;
22 var_dump( array_key_exists($key, $search, $extra_arg) );
26 $key = 1;
27 var_dump( array_key_exists($key) );
H A Duasort_variation3.phpt54 // default key
55 1, //expecting: default key 0, value will be replaced by 'FALSE'
65 'key' => 5, //single quoted key
66 "two" => 4, //double quoted key
69 " " => 0, // space as key
81 // binary key
126 ["key"]=>
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_sockets.c37 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()
403 unlink(ls->key); in fpm_sockets_init_main()
[all …]
/PHP-5.5/ext/spl/tests/
H A Diterator_039.phpt29 public function key()
77 NumericArrayIterator::key
83 NumericArrayIterator::key
89 NumericArrayIterator::key
95 NumericArrayIterator::key
109 NumericArrayIterator::key
116 NumericArrayIterator::key
H A Dbug42703.phpt20 public function key() { }
27 foreach($itit as $key => $value) {
28 echo $key, $value;
36 var_dump($itit->key());
/PHP-5.5/ext/mcrypt/tests/
H A Dmcrypt_ecb_error.phpt13 /* 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 Dmcrypt_encrypt_error.phpt11 /* 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 Dmcrypt_decrypt_error.phpt11 /* 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 Dblowfish.phpt14 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 Dmcrypt_cbc_error.phpt11 /* 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) );
/PHP-5.5/ext/dba/
H A Ddba_inifile.c44 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.5/ext/session/tests/
H A Dsession_encode_error2.phpt103 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.5/ext/sysvshm/tests/
H A D006.phpt8 $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.5/ext/standard/
H A Dhttp.c34 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.5/ext/openssl/tests/
H A Dbug38255.phpt2 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
/PHP-5.5/ext/spl/internal/
H A Dregexiterator.inc22 const USE_KEY = 0x00000001; /**< If present in $flags the key is
29 const REPLACE = 4; /**< Mode: Replace the input key or current */
37 private $key; /**< the value used for key() */
61 * Match current or key against regular expression using mode, flags and
71 $this->key = parent::key();
74 $subject = ($this->flags & self::USE_KEY) ? $this->key : $this->current;
97 $this->key = $result;
106 /** @return the key after accept has been called
108 function key()
110 return $this->key;
/PHP-5.5/tests/lang/
H A DforeachLoopIterator.001.phpt34 public function key() {
87 --> MealIterator::key (0)
92 --> MealIterator::key (1)
97 --> MealIterator::key (2)
109 --> MealIterator::key (0)
116 --> MealIterator::key (0)
121 --> MealIterator::key (1)
126 --> MealIterator::key (2)
/PHP-5.5/Zend/tests/
H A Dforeach_list_003.phpt2 foreach with list key
8 foreach($array as list($key) => list(list(), $a)) {
13 Fatal error: Cannot use list as key element in %sforeach_list_003.php on line %d

Completed in 43 milliseconds

12345678910>>...46