Home
last modified time | relevance | path

Searched refs:key (Results 176 – 200 of 1127) sorted by relevance

12345678910>>...46

/PHP-8.0/ext/openssl/tests/
H A Dbug73478.phpt16 printf("Private key:\n%s\n", base64_encode($data['dh']['priv_key']));
17 printf("Public key:\n%s\n", base64_encode($data['dh']['pub_key']));
20 Private key:
22 Public key:
H A Dopenssl_sign_basic.phpt8 $privkey = "file://" . __DIR__ . "/private_rsa_1024.key";
17 Warning: openssl_sign(): Supplied key param cannot be coerced into a private key in %s on line %d
H A Dbug80747.phpt2 Bug #80747: Providing RSA key size < 512 generates key that crash PHP
24 error:%s:key size too small
/PHP-8.0/ext/spl/tests/
H A Darray_012.phpt12 foreach($it as $key => $val)
14 echo "$key=>$val\n";
34 foreach($it as $key => $val)
36 echo "$key=>$val\n";
H A Dbug62073.phpt7 foreach ($heap as $key => $value) {
8 var_dump($key);
15 var_dump($heap->key());
H A Diterator_012.phpt10 echo $it->key() . '=>' . $it->current() . "\n";
18 foreach($it as $key=>$val)
20 echo "$key=>$val\n";
H A Dbug53515.phpt12 foreach ($a as $key => $value) {
13 echo $key . ': ' . (is_null($value) ? 'null' : @"$value") .
14 ' array_key_exists: ' . (array_key_exists($key, $a) ? 'true' : 'false') .
15 ' property_exists: ' . (property_exists($o, $key) ? 'true' : 'false'),"\n";
H A Diterator_001.phpt30 public function key()
99 NumericArrayIterator::key
106 NumericArrayIterator::key
113 NumericArrayIterator::key
124 NumericArrayIterator::key
131 NumericArrayIterator::key
138 NumericArrayIterator::key
150 NumericArrayIterator::key
154 NumericArrayIterator::key
161 NumericArrayIterator::key
H A Dobserver_002.phpt20 function key()
22 echo __METHOD__ . "(" . parent::key() . ")\n";
23 return parent::key();
90 foreach($this->observers as $key => $observer)
152 MyObjectStorage::key(0)
157 MyObjectStorage::key(1)
162 MyObjectStorage::key(2)
172 MyObjectStorage::key(0)
177 MyObjectStorage::key(1)
193 MyObjectStorage::key(0)
/PHP-8.0/ext/ffi/tests/
H A D008.phpt13 foreach ($a as $key => $val) {
14 echo "$key => $val\n";
25 foreach ($a as $key => $val) {
26 echo "$key => $val\n";
/PHP-8.0/ext/simplexml/tests/
H A Dbug67572.phpt16 foreach($xml as $key => $value) {
17 print "$key = $value ... ";
22 foreach($xml2 as $key => $value) {
23 print "$key = $value ... ";
/PHP-8.0/ext/dba/tests/
H A Ddba_db4_handlers.phpt21 foreach ($h as $key) {
22 if ($key === "db4") {
34 foreach ($h as $key => $val) {
35 if ($key === "db4") {
/PHP-8.0/Zend/
H A Dzend_ts_hash.c90 ZEND_API zval *zend_ts_hash_add(TsHashTable *ht, zend_string *key, zval *pData) in zend_ts_hash_add() argument
95 retval = zend_hash_add(TS_HASH(ht), key, pData); in zend_ts_hash_add()
106 retval = zend_hash_update(TS_HASH(ht), key, pData); in zend_ts_hash_update()
139 retval = zend_hash_add_empty_element(TS_HASH(ht), key); in zend_ts_hash_add_empty_element()
189 ZEND_API zend_result zend_ts_hash_del(TsHashTable *ht, zend_string *key) in zend_ts_hash_del() argument
194 retval = zend_hash_del(TS_HASH(ht), key); in zend_ts_hash_del()
211 ZEND_API zval *zend_ts_hash_find(TsHashTable *ht, zend_string *key) in zend_ts_hash_find() argument
216 retval = zend_hash_find(TS_HASH(ht), key); in zend_ts_hash_find()
321 retval = zend_hash_str_find(TS_HASH(ht), key, len); in zend_ts_hash_str_find()
332 retval = zend_hash_str_update(TS_HASH(ht), key, len, pData); in zend_ts_hash_str_update()
[all …]
/PHP-8.0/ext/standard/tests/array/
H A Darray_column_scalar_index_weak_types.phpt5 echo "\n-- Testing array_column() column key parameter should be a string or an integer (testing bo…
17 echo "\n-- Testing array_column() column key parameter should be a string or integer (testing array…
24 echo "\n-- Testing array_column() index key parameter should be a string or an integer (testing boo…
36 echo "\n-- Testing array_column() index key parameter should be a string or integer (testing array)…
47 -- Testing array_column() column key parameter should be a string or an integer (testing bool) --
61 -- Testing array_column() column key parameter should be a string or integer (testing array) --
64 -- Testing array_column() index key parameter should be a string or an integer (testing bool) --
78 -- Testing array_column() index key parameter should be a string or integer (testing array) --
H A Darray_diff_assoc_variation8.phpt9 * 3. duplicate key names
14 $array_index = array('a', 'b', 'c', 0 => 'd', 'b'); //duplicate key (0), duplicate value (b)
15 $array_assoc = array ('2' => 'c', //same key=>value pair, different order
18 'b' => '3', //key and value from array_index swapped
H A Darray_diff_variation6.phpt9 * 3. duplicate key names
14 $array_index = array('a', 'b', 'c', 0 => 'd', 'b'); //duplicate key (0), duplicate value (b)
15 $array_assoc = array ('2' => 'c', //same key=>value pair, different order
18 'b' => '3', //key and value from array_index swapped
H A Darray_column_scalar_index_strict_types.phpt7 echo "\n-- Testing array_column() column key parameter should be a string or an integer (testing bo…
19 echo "\n-- Testing array_column() column key parameter should be a string or integer (testing array…
26 echo "\n-- Testing array_column() index key parameter should be a string or an integer (testing boo…
38 echo "\n-- Testing array_column() index key parameter should be a string or integer (testing array)…
49 -- Testing array_column() column key parameter should be a string or an integer (testing bool) --
53 -- Testing array_column() column key parameter should be a string or integer (testing array) --
56 -- Testing array_column() index key parameter should be a string or an integer (testing bool) --
60 -- Testing array_column() index key parameter should be a string or integer (testing array) --
H A Dbug35022.phpt2 Bug #35022 (Regression in the behavior of key/current functions)
9 echo key($state) . " => " . current($state) . "\n";
14 var_dump( key($state), current($state) );
/PHP-8.0/Zend/tests/
H A Dbug40705.phpt13 var_dump(key($foo));
15 var_dump(key($foo));
19 var_dump(key($foo));
H A Dempty_str_offset.phpt30 var_dump(empty($str[$key = '-1'])); // 3
31 var_dump(empty($str[$key = '-10']));
32 var_dump(empty($str[$key = '0']));
33 var_dump(empty($str[$key = '1']));
34 var_dump(empty($str[$key = '4'])); // 0
35 var_dump(empty($str[$key = '1.5']));
36 var_dump(empty($str[$key = 'good']));
37 var_dump(empty($str[$key = '3 and a half']));
H A Disset_str_offset.phpt29 var_dump(isset($str[$key = '-1'])); // 3
30 var_dump(isset($str[$key = '-10']));
31 var_dump(isset($str[$key = '0']));
32 var_dump(isset($str[$key = '1']));
33 var_dump(isset($str[$key = '4'])); // 0
34 var_dump(isset($str[$key = '1.5']));
35 var_dump(isset($str[$key = 'good']));
36 var_dump(isset($str[$key = '3 and a half']));
/PHP-8.0/ext/dba/
H A Ddba_lmdb.c130 php_error_docref1(NULL, key, E_WARNING, "%s", mdb_strerror(rc)); in DBA_FETCH_FUNC()
135 k.mv_data = key; in DBA_FETCH_FUNC()
140 php_error_docref1(NULL, key, E_WARNING, "%s", mdb_strerror(rc)); in DBA_FETCH_FUNC()
172 k.mv_data = key; in DBA_UPDATE_FUNC()
206 php_error_docref1(NULL, key, E_WARNING, "%s", mdb_strerror(rc)); in DBA_EXISTS_FUNC()
211 k.mv_data = key; in DBA_EXISTS_FUNC()
216 php_error_docref1(NULL, key, E_WARNING, "%s", mdb_strerror(rc)); in DBA_EXISTS_FUNC()
238 php_error_docref1(NULL, key, E_WARNING, "%s", mdb_strerror(rc)); in DBA_DELETE_FUNC()
243 k.mv_data = key; in DBA_DELETE_FUNC()
249 php_error_docref1(NULL, key, E_WARNING, "%s", mdb_strerror(rc)); in DBA_DELETE_FUNC()
[all …]
/PHP-8.0/ext/sysvshm/
H A Dsysvshm_arginfo.h5 ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
16 ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
23 ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
29 ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
/PHP-8.0/ext/json/
H A Djson_parser.y63 %type <value> start object key value array
127 key ':' value
134 | member ',' key ':' value
195 key:
236 static int php_json_parser_object_update(php_json_parser *parser, zval *object, zend_string *key, z… in php_json_parser_object_update() argument
240 zend_symtable_update(Z_ARRVAL_P(object), key, zvalue); in php_json_parser_object_update()
242 if (ZSTR_LEN(key) > 0 && ZSTR_VAL(key)[0] == '\0') { in php_json_parser_object_update()
244 zend_string_release_ex(key, 0); in php_json_parser_object_update()
249 zend_std_write_property(Z_OBJ_P(object), key, zvalue, NULL); in php_json_parser_object_update()
252 zend_string_release_ex(key, 0); in php_json_parser_object_update()
/PHP-8.0/ext/sodium/tests/
H A Dcrypto_secretstream.phpt14 $key = sodium_crypto_secretstream_xchacha20poly1305_keygen();
17 $res = sodium_crypto_secretstream_xchacha20poly1305_init_push($key);
24 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
37 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
43 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);

Completed in 32 milliseconds

12345678910>>...46