/PHP-8.0/ext/spl/tests/ |
H A D | CallbackFilterIteratorTest.phpt | 7 function test($value, $key, $inner) { 8 return test($value, $key, $inner); 13 static function test($value, $key, $inner) { 14 return test($value, $key, $inner); 18 function test($value, $key, $inner) { 21 , $key 23 , $key == $inner->key() 33 …ymous function' => function() { return function($value, $key, $inner) { return test($value, $key, …
|
H A D | fileobject_001.phpt | 8 var_dump($o->key()); 11 var_dump($o->key()); 13 var_dump($o->key()); 15 var_dump($o->key()); 17 var_dump($o->key()); 19 var_dump($o->key()); 21 var_dump($o->key()); 23 var_dump($o->key()); 25 var_dump($o->key());
|
H A D | RecursiveCallbackFilterIteratorTest.phpt | 7 function test($value, $key, $inner) { 8 return test($value, $key, $inner); 13 static function test($value, $key, $inner) { 14 return test($value, $key, $inner); 18 function test($value, $key, $inner) { 24 , $key 26 , $key == $inner->key() 36 …ymous function' => function() { return function($value, $key, $inner) { return test($value, $key, …
|
H A D | bug61527.phpt | 10 var_dump($ai->key()); 17 $ao2->offsetUnset($ai2->key()); 21 $ao2->offsetUnset($ai2->key()); 22 var_dump($ai2->key()); 25 $ao2->offsetUnset($ai2->key()); 29 var_dump($ai2->key()); 34 var_dump($ai2->key()); 42 var_dump($ai2->key()); 59 $ao4->offsetUnset($ai4->key()); 62 $ao4->offsetUnset($ai4->key());
|
/PHP-8.0/ext/spl/ |
H A D | spl_array.stub.php | 10 public function offsetExists(mixed $key) {} argument 13 public function offsetGet(mixed $key) {} argument 16 public function offsetSet(mixed $key, mixed $value) {} argument 19 public function offsetUnset(mixed $key) {} argument 90 public function offsetExists(mixed $key) {} argument 96 public function offsetGet(mixed $key) {} argument 102 public function offsetSet(mixed $key, mixed $value) {} argument 108 public function offsetUnset(mixed $key) {} argument 207 public function key() {} function in ArrayIterator
|
H A D | spl_iterators.stub.php | 14 public function key() {} function in EmptyIterator 65 public function key() {} function in RecursiveIteratorIterator 130 public function key() {} function in IteratorIterator 226 * @param string $key 229 public function offsetGet($key) {} argument 232 * @param string $key 238 * @param string $key 241 public function offsetUnset($key) {} argument 244 * @param string $key 278 public function key() {} function in NoRewindIterator [all …]
|
/PHP-8.0/tests/lang/ |
H A D | bug24783.phpt | 2 Bug #24783 ($key not binary safe in "foreach($arr as $key => $val)") 7 foreach ($arr as $key => $val) { 8 echo strlen($key), ': '; 9 echo urlencode($key), ' => ', urlencode($val), "\n";
|
/PHP-8.0/ext/soap/tests/ |
H A D | bug48557.phpt | 24 <key xsi:type="xsd:int">1</key> 28 <key xsi:type="xsd:int">-1000</key> 32 <key xsi:type="xsd:string">2</key> 36 <key xsi:type="xsd:string">-2000</key> 40 <key xsi:type="xsd:string">011</key> 44 <key xsi:type="xsd:int">012</key>
|
/PHP-8.0/ext/dba/tests/ |
H A D | bug65708.phpt | 2 Bug #65708 (dba functions cast $key param to string in-place, bypassing copy on write) 16 $key = 1; 17 $copy = $key; 19 echo gettype($key)."\n"; 22 dba_exists($key, $db); 24 echo gettype($key)."\n";
|
H A D | dba_cdb_read.phpt | 14 // read key sequence 23 // display number of entries and key existence 43 $key = substr($keys, $i, 1); 44 $skip[$key] = 0; 45 echo dba_fetch($key, $db_file); 49 $key = substr($keys, $i, 1); 50 echo dba_fetch($key, $skip[$key], $db_file); 51 $skip[$key]++;
|
/PHP-8.0/Zend/tests/ |
H A D | foreach_004.phpt | 21 function key() {$this->trap(__FUNCTION__); return parent::key();} 25 foreach(['rewind', 'valid', 'key', 'next'] as $trap) { 29 foreach ($obj as $key => &$val) echo "$val\n"; 37 foreach (new IT($trap) as $key => &$val) echo "$val\n"; 44 foreach ((object)new IT($trap) as $key => &$val) echo "$val\n"; 57 key 58 key 59 key
|
H A D | bug76800.phpt | 6 foreach($arr as $key => &$val) { // without & will print both keys 7 echo "See key {$key}\n"; 13 See key 1 14 See key 3
|
/PHP-8.0/ext/sysvshm/ |
H A D | sysvshm.stub.php | 9 function shm_attach(int $key, ?int $size = null, int $permissions = 0666): SysvSharedMemory|false {} argument 13 function shm_has_var(SysvSharedMemory $shm, int $key): bool {} argument 17 function shm_put_var(SysvSharedMemory $shm, int $key, mixed $value): bool {} argument 19 function shm_get_var(SysvSharedMemory $shm, int $key): mixed {} argument 21 function shm_remove_var(SysvSharedMemory $shm, int $key): bool {} argument
|
/PHP-8.0/Zend/tests/generators/ |
H A D | generator_with_keys.phpt | 8 while (null !== $key = key($array)) { 9 yield $key => current($array); 19 foreach (reverse($array) as $key => $value) { 20 echo $key, ' => ', $value, "\n";
|
/PHP-8.0/ext/openssl/tests/ |
H A D | openssl_private_encrypt_basic.phpt | 8 $privkey = "file://" . __DIR__ . "/private_rsa_1024.key"; 9 $pubkey = "file://" . __DIR__ . "/public.key"; 30 Warning: openssl_private_encrypt(): key param is not a valid private key in %s on line %d 33 Warning: openssl_private_encrypt(): key param is not a valid private key in %s on line %d 36 Warning: openssl_private_encrypt(): key param is not a valid private key in %s on line %d
|
H A D | openssl_public_encrypt_basic.phpt | 8 $privkey = "file://" . __DIR__ . "/private_rsa_1024.key"; 9 $pubkey = "file://" . __DIR__ . "/public.key"; 30 Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d 33 Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d 36 Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d
|
H A D | bug25614.phpt | 2 openssl: get public key from generated private key 6 if (!@openssl_pkey_new()) die("skip cannot create private key"); 14 Warning: openssl_pkey_get_public(): Don't know how to get public key from this private key %s
|
H A D | openssl_x509_verify.phpt | 11 $fp = fopen(__DIR__ . "/public.key","r"); 16 $key = "file://" . __DIR__ . "/public.key"; 17 $wrongKey = "file://" . __DIR__ . "/public_rsa_2048.key"; 19 var_dump(openssl_x509_verify($cert, $key)); 20 var_dump(openssl_x509_verify("", $key));
|
H A D | bug38255.phpt | 2 openssl key from zval leaks 28 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d 30 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d 33 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d
|
H A D | openssl_pkey_get_details_basic.phpt | 2 openssl_pkey_get_details() with EC key 10 $key = openssl_pkey_get_private("file://" . __DIR__ . "/private_ec.key"); 12 print_r(openssl_pkey_get_details($key)); 18 [key] => -----BEGIN PUBLIC KEY-----%a
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_iterator.c | 31 zend_ulong key; member 75 ZVAL_NULL(key); in com_iter_get_key() 77 ZVAL_LONG(key, I->key); in com_iter_get_key() 98 I->key++; in com_iter_move_forwards() 101 I->key = (zend_ulong)-1; in com_iter_move_forwards() 107 I->key = (zend_ulong)-1; in com_iter_move_forwards() 110 I->key++; in com_iter_move_forwards() 112 I->key = (zend_ulong)-1; in com_iter_move_forwards() 192 I->key = bound; in php_com_iter_get() 197 I->key = (zend_ulong)-1; in php_com_iter_get() [all …]
|
/PHP-8.0/tests/classes/ |
H A D | constants_basic_004.phpt | 14 const KEY = "key"; 47 ["key"]=> 51 ["key"]=> 55 ["key"]=> 59 ["key"]=> 63 ["key"]=> 71 ["key"]=> 78 ["key"]=> 85 ["key"]=> 90 ["key"]=> [all …]
|
/PHP-8.0/ext/sodium/tests/ |
H A D | crypto_secretbox.phpt | 8 $key = sodium_crypto_secretbox_keygen(); 10 $a = sodium_crypto_secretbox('test', $nonce, $key); 11 $x = sodium_crypto_secretbox_open($a, $nonce, $key); 13 $y = sodium_crypto_secretbox_open("\0" . $a, $nonce, $key); 17 sodium_crypto_secretbox('test', substr($nonce, 1), $key);
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | bug70250.phpt | 5 $array = ['key' => 'value']; 7 $ref = &$array['key']; 13 $key = "bad"; 19 ["key"]=>
|
H A D | array_key_first.phpt | 50 First key is : 67 First key is : 80 First key is : 96 First key is : 109 First key is : 122 First key is : 135 First key is : 155 First key is : 167 First key is : 195 First key is : [all …]
|