/PHP-7.4/ext/spl/tests/ |
H A D | multiple_iterator_001.phpt | 26 foreach($m as $key => $value) { 27 var_dump($key, $value); 35 $m->key(); 45 foreach($m as $key => $value) { 46 var_dump($key, $value); 54 foreach($m as $key => $value) { 55 var_dump($key, $value); 74 foreach($m as $key => $value) { 75 var_dump($key, $value); 101 foreach($m as $key => $value) { [all …]
|
H A D | iterator_001.phpt | 30 public function key() 101 NumericArrayIterator::key 108 NumericArrayIterator::key 115 NumericArrayIterator::key 126 NumericArrayIterator::key 133 NumericArrayIterator::key 140 NumericArrayIterator::key 152 NumericArrayIterator::key 156 NumericArrayIterator::key 163 NumericArrayIterator::key
|
H A D | SplDoublyLinkedList_key.phpt | 2 SplDoublyLinkedList::key basic functionality 6 <?php var_dump((new SplDoublyLinkedList)->key()); ?>
|
H A D | dualiterator.inc | 109 /** @return key value depending on KEY_* flags 111 function key() 117 return $this->lhs->key(); 119 return $this->rhs->key(); 134 * current and key values or both are non valid. 140 && $this->lhs->key() === $this->rhs->key() 145 * and key values or both are non valid. 151 && $this->lhs->key() == $this->rhs->key()
|
H A D | iterator_034.phpt | 64 function key() 67 return parent::key(); 129 RecursiveArrayIteratorIterator::key() 139 RecursiveArrayIteratorIterator::key() 149 RecursiveArrayIteratorIterator::key() 155 RecursiveArrayIteratorIterator::key() 167 RecursiveArrayIteratorIterator::key() 173 RecursiveArrayIteratorIterator::key()
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug68912.phpt | 6 if (!@openssl_pkey_new()) die("skip cannot create private key"); 18 Warning: openssl_spki_new(): supplied resource is not a valid OpenSSL X.509/key resource in %sbug68… 20 Warning: openssl_spki_new(): Unable to use supplied private key in %sbug68912.php on line %d
|
H A D | bug66501.phpt | 2 Bug #66501: EC private key support in openssl_sign 19 $key = openssl_pkey_get_private($pkey); 20 $res = openssl_sign($data ='alpha', $sign, $key, 'SHA1');
|
H A D | openssl_spki_export_basic.phpt | 2 openssl_spki_export() tests for exporting public key 6 if (!@openssl_pkey_new()) die("skip cannot create private key"); 11 /* array of private key sizes to test */ 15 $key_file = "file://" . __DIR__ . "/private_rsa_" . $key_size . ".key"; 32 /* loop over key sizes for test */
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_option_invalid.phpt | 52 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 55 die(sprintf("skip Failed to create pub key file")); 129 /* valid key */ 132 /* invalid key */ 135 $key = file_get_contents($file); 136 $key = str_replace("A", "a", $key); 137 $key = str_replace("M", "m", $key); 140 printf("[002] Can't write public key file."); 142 fwrite($fp, $key); 150 printf("[003] Can't write public key file."); [all …]
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_walk_recursive_variation4.phpt | 17 /* Prototype : callback(mixed $value, mixed $key) 19 * $key - keys in given 'input' array 22 function callback($value, $key) 26 var_dump($key); // key
|
H A D | array_walk_recursive_variation5.phpt | 25 /* Prototype : callback(int $value, mixed $key) 27 * $key - keys in given input array 30 function callback($value, $key) 34 var_dump($key); // key
|
H A D | array_walk_variation5.phpt | 25 /* Prototype : callback(int $value, mixed $key) 27 * $key - keys in given input array 30 function callback($value, $key) 34 var_dump($key); // key
|
H A D | each_variation5.phpt | 6 * Description: Return the currently pointed key..value pair in the passed array, 48 ["key"]=> 72 ["key"]=> 82 ["key"]=> 94 ["key"]=>
|
H A D | array_search.phpt | 8 $arr3 = array('c','key'=>'d'); 9 $arr4 = array("a\0b"=>'e','key'=>'d', 'f'); 28 string(3) "key"
|
H A D | array_walk_recursive_variation7.phpt | 27 var_dump( array_walk_recursive($input, function($value, $key) { var_dump($key); var_dump($value); e… 30 var_dump( array_walk_recursive($input, function($value, $key, $user_data) { var_dump($key); var_dum… 33 var_dump( array_walk_recursive($input, function($value, $key, $user_data) { var_dump($key); var_dum…
|
H A D | array_walk_variation7.phpt | 27 var_dump( array_walk($input, function($value, $key) { var_dump($key); var_dump($value); echo "\n"; … 30 var_dump( array_walk($input, function($value, $key, $user_data) { var_dump($key); var_dump($value);… 33 var_dump( array_walk($input, function($value, $key, $user_data) { var_dump($key); var_dump($value);…
|
H A D | array_diff_variation6.phpt | 15 * 3. duplicate key names 20 $array_index = array('a', 'b', 'c', 0 => 'd', 'b'); //duplicate key (0), duplicate value (b) 21 $array_assoc = array ('2' => 'c', //same key=>value pair, different order 24 'b' => '3', //key and value from array_index swapped
|
/PHP-7.4/ext/sodium/ |
H A D | libsodium.c | 3210 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3222 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3233 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3245 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3257 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3268 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3279 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3290 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3301 randombytes_buf(key, sizeof key); in PHP_FUNCTION() 3312 randombytes_buf(key, sizeof key); in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/soap/ |
H A D | php_sdl.c | 1807 if (key) { in sdl_serialize_key() 1809 WSDL_CACHE_PUT_N(ZSTR_VAL(key), ZSTR_LEN(key), out); in sdl_serialize_key() 2479 if (key) { in make_persistent_sdl_function_headers() 2536 if (key) { in make_persistent_sdl_parameters() 2580 if (key) { in make_persistent_sdl_function_faults() 2631 if (key) { in make_persistent_sdl_attribute() 2791 if (key) { in make_persistent_sdl_type() 2809 if (key) { in make_persistent_sdl_type() 2961 if (key) { in make_persistent_sdl() 2980 if (key) { in make_persistent_sdl() [all …]
|
/PHP-7.4/ext/opcache/ |
H A D | zend_persist.h | 26 uint32_t zend_accel_script_persist_calc(zend_persistent_script *script, const char *key, unsigned i… 27 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, const char **key,…
|
/PHP-7.4/ext/session/tests/ |
H A D | 004.phpt | 27 function read($key) 29 print "READ: $key\n"; 33 function write($key, $val) 35 print "WRITE: $key, $val\n"; 40 function destroy($key) 42 print "DESTROY: $key\n";
|
/PHP-7.4/Zend/tests/ |
H A D | bug63217.phpt | 55 foreach ($array as $key => $value) { 56 return $key; 67 $key = '123'; 69 $array[$key] = 1; 80 $key = '123'; 83 $ao[$key] = 1;
|
/PHP-7.4/ext/dba/ |
H A D | dba_tcadb.c | 94 value = tcadbget(dba->tcadb, key, keylen, &value_size); in DBA_FETCH_FUNC() 113 if (tcadbvsiz(dba->tcadb, key, keylen) > -1) { in DBA_UPDATE_FUNC() 118 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC() 124 php_error_docref2(NULL, key, val, E_WARNING, "Error updating data"); in DBA_UPDATE_FUNC() 134 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC() 147 return tcadbout(dba->tcadb, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
|
/PHP-7.4/ext/dba/tests/ |
H A D | dba_handlers.phpt | 21 foreach ($h as $key) { 22 if ($key === "flatfile") { 46 foreach ($h as $key => $val) { 47 if ($key === "flatfile") {
|
/PHP-7.4/tests/classes/ |
H A D | iterators_007.phpt | 12 …public function key() { if ($this->x == 2) throw new Exception(__METHOD__); return key($this… 14 …public function valid() { if ($this->x == 4) throw new Exception(__METHOD__); return (key($thi… 39 Caught in Test::key()
|