Home
last modified time | relevance | path

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

12345678910>>...43

/PHP-7.4/ext/phar/tests/
H A Dphar_buildfromiterator6.phpt2 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)
H A Dphar_buildfromiterator4.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
64 key
68 key
72 key
76 key
/PHP-7.4/ext/dba/tests/
H A Ddba_db4_000.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"]=>
H A Ddba_dbm.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"]=>
H A Ddba_flatfile.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"]=>
H A Ddba_tcadb.phpt30 "key number 6" written
31 Failed to write "key number 6" 2nd time
35 ["key number 6"]=>
47 "key number 6" written
48 Failed to write "key number 6" 2nd time
52 ["key number 6"]=>
/PHP-7.4/ext/dba/libcdb/
H A Dcdb.c46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos) 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) in cdb_findnext() argument
136 u = cdb_hash(key, len); in cdb_findnext()
166 switch(cdb_match(c, key, len, pos + 8)) { in cdb_findnext()
182 int cdb_find(struct cdb *c, char *key, unsigned int len) in cdb_find() argument
185 return cdb_findnext(c, key, len); in cdb_find()
/PHP-7.4/ext/dba/
H A Ddba_inifile.c42 if (!key) { \
46 ini_key = inifile_key_split((char*)key) /* keylen not needed here */
96 php_error_docref1(NULL, key, E_WARNING, "Operation not possible"); in DBA_UPDATE_FUNC()
141 char *result = inifile_key_string(&dba->curr.key); in DBA_FIRSTKEY_FUNC()
153 if (!dba->curr.key.group && !dba->curr.key.name) { in DBA_NEXTKEY_FUNC()
158 char *result = inifile_key_string(&dba->curr.key); in DBA_NEXTKEY_FUNC()
/PHP-7.4/ext/standard/tests/array/
H A Darray_key_exists_object2.phpt5 /* Prototype : bool array_key_exists(mixed $key, array $search)
6 * Description: Checks if the given key or index exists in the array
33 echo "\$key = var1:\n";
35 echo "\$key = var2:\n";
37 echo "\$key = var3:\n";
44 echo "\$key = var3:\n";
55 $key = var1:
59 $key = var2:
63 $key = var3:
78 $key = var3:
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")
/PHP-7.4/ext/openssl/tests/
H A Decc.phpt25 var_dump(strlen($d1["key"]));
44 // openssl_csr_new creates a new public key pair if the key argument is null
45 echo "Testing openssl_csr_new with key generation\n";
53 echo "Testing openssl_csr_new with existing ecc key\n";
84 resource(%d) of type (OpenSSL key)
92 resource(%d) of type (OpenSSL key)
94 Testing openssl_csr_new with key generation
96 resource(%d) of type (OpenSSL key)
97 Testing openssl_csr_new with existing ecc key
H A Dbug71917.phpt10 $publicKey = "file://" . __DIR__ . "/public.key";
11 $privateKey = "file://" . __DIR__ . "/private_rsa_1024.key";
22 // works - key of 16 bytes
24 // fails - key of 15 bytes
/PHP-7.4/ext/phar/tests/tar/
H A Dphar_buildfromiterator6.phpt2 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-7.4/ext/phar/tests/zip/
H A Dphar_buildfromiterator6.phpt2 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-7.4/tests/classes/
H A Diterators_006.phpt20 return $this->key !== NULL;
23 function key() {
24 return $this->key;
32 $this->key = key($this->array);
54 #var_dump($array->key());
/PHP-7.4/ext/sysvshm/tests/
H A D002.phpt11 $key = ftok(__FILE__, 't');
19 var_dump($s = shm_attach($key, -1));
21 var_dump($s = shm_attach($key, 0));
24 var_dump($s = shm_attach($key, 1024));
25 shm_remove($key);
26 var_dump($s = shm_attach($key, 1024));
28 var_dump($s = shm_attach($key, 1024, 0666));
31 var_dump($s = shm_attach($key, 1024));
33 var_dump($s = shm_attach($key));
H A D006.phpt11 $key = ftok(__FILE__, 't');
12 $s = shm_attach($key, 1024);
38 Warning: shm_remove_var(): variable key -10 doesn't exist in %s006.php on line %d
43 Warning: shm_get_var(): variable key 1 doesn't exist in %s006.php on line %d
46 Warning: shm_remove_var(): variable key 1 doesn't exist in %s006.php on line %d
49 Warning: shm_get_var(): variable key 1 doesn't exist in %s006.php on line %d
/PHP-7.4/ext/spl/tests/
H A Ddit_005.phpt9 var_dump($a->key() == $b->key());
15 var_dump($a->key() == $c->key());
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-7.4/ext/sodium/tests/
H A Dsodium_error_001.phpt9 function do_crypto_shorthash($message, $key) {
10 return sodium_crypto_shorthash($message, $key);
14 $key = random_bytes(SODIUM_CRYPTO_SHORTHASH_KEYBYTES);
15 $hash = do_crypto_shorthash($m, $key);
/PHP-7.4/ext/standard/
H A Dvar.c47 PHPWRITE(ZSTR_VAL(key), ZSTR_LEN(key)); in php_array_element_dump()
72 PHPWRITE(ZSTR_VAL(key), ZSTR_LEN(key)); in php_object_property_dump()
98 zend_string *key; in php_var_dump() local
178 if (key) { in php_var_dump()
239 PHPWRITE(ZSTR_VAL(key), ZSTR_LEN(key)); in zval_array_element_dump()
287 zend_string *key; in php_debug_zval_dump() local
364 if (key) { in php_debug_zval_dump()
659 zend_ulong key; in php_add_var_hash() local
905 if (!key) { in php_var_serialize_nested_data()
908 php_var_serialize_string(buf, ZSTR_VAL(key), ZSTR_LEN(key)); in php_var_serialize_nested_data()
[all …]
H A Dassert.c290 zend_string *key; in PHP_FUNCTION() local
307 key = zend_string_init("assert.active", sizeof("assert.active")-1, 0); in PHP_FUNCTION()
309 zend_string_release_ex(key, 0); in PHP_FUNCTION()
323 key = zend_string_init("assert.bail", sizeof("assert.bail")-1, 0); in PHP_FUNCTION()
325 zend_string_release_ex(key, 0); in PHP_FUNCTION()
341 zend_string_release_ex(key, 0); in PHP_FUNCTION()
355 key = zend_string_init("assert.warning", sizeof("assert.warning")-1, 0); in PHP_FUNCTION()
357 zend_string_release_ex(key, 0); in PHP_FUNCTION()
385 key = zend_string_init("assert.exception", sizeof("assert.exception")-1, 0); in PHP_FUNCTION()
386 zend_alter_ini_entry_ex(key, val, PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0); in PHP_FUNCTION()
[all …]
/PHP-7.4/Zend/tests/
H A Dbug79947.phpt6 $key = [];
7 $array[$key] += [$key];

Completed in 31 milliseconds

12345678910>>...43