/PHP-8.0/ext/openssl/tests/ |
H A D | bug73478.phpt | 16 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 D | openssl_sign_basic.phpt | 8 $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 D | bug80747.phpt | 2 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 D | array_012.phpt | 12 foreach($it as $key => $val) 14 echo "$key=>$val\n"; 34 foreach($it as $key => $val) 36 echo "$key=>$val\n";
|
H A D | bug62073.phpt | 7 foreach ($heap as $key => $value) { 8 var_dump($key); 15 var_dump($heap->key());
|
H A D | iterator_012.phpt | 10 echo $it->key() . '=>' . $it->current() . "\n"; 18 foreach($it as $key=>$val) 20 echo "$key=>$val\n";
|
H A D | bug53515.phpt | 12 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 D | iterator_001.phpt | 30 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 D | observer_002.phpt | 20 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 D | 008.phpt | 13 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 D | bug67572.phpt | 16 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 D | dba_db4_handlers.phpt | 21 foreach ($h as $key) { 22 if ($key === "db4") { 34 foreach ($h as $key => $val) { 35 if ($key === "db4") {
|
/PHP-8.0/Zend/ |
H A D | zend_ts_hash.c | 90 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 D | array_column_scalar_index_weak_types.phpt | 5 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 D | array_diff_assoc_variation8.phpt | 9 * 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 D | array_diff_variation6.phpt | 9 * 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 D | array_column_scalar_index_strict_types.phpt | 7 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 D | bug35022.phpt | 2 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 D | bug40705.phpt | 13 var_dump(key($foo)); 15 var_dump(key($foo)); 19 var_dump(key($foo));
|
H A D | empty_str_offset.phpt | 30 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 D | isset_str_offset.phpt | 29 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 D | dba_lmdb.c | 130 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 D | sysvshm_arginfo.h | 5 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 D | json_parser.y | 63 %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 D | crypto_secretstream.phpt | 14 $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);
|