/PHP-7.0/ext/reflection/tests/ |
H A D | ReflectionParameter_export_error2.phpt | 13 foreach($params as $key => $value) { 14 ReflectionParameter::export($reflect, $key); 21 foreach($params as $key => $value) { 22 ReflectionParameter::export(42, $key);
|
/PHP-7.0/ext/simplexml/tests/ |
H A D | bug46048.phpt | 9 <key>value</key> 24 [key] => value
|
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-7.0/tests/lang/ |
H A D | each_binary_safety.phpt | 7 while (list($key, $val) = each($arr)) { 8 echo strlen($key), ': '; 9 echo urlencode($key), ' => ', urlencode($val), "\n";
|
/PHP-7.0/Zend/ |
H A D | zend_variables.c | 271 ZEND_API int zval_copy_static_var(zval *p, int num_args, va_list args, zend_hash_key *key) /* {{{ */ in zval_copy_static_var() argument 282 p = zend_hash_find(symbol_table, key->key); in zval_copy_static_var() 288 zend_hash_add_new(symbol_table, key->key, &tmp); in zval_copy_static_var() 291 zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(key->key)); in zval_copy_static_var() 298 zend_error(E_NOTICE,"Undefined variable: %s", ZSTR_VAL(key->key)); in zval_copy_static_var() 319 zend_hash_add(target, key->key, p); in zval_copy_static_var()
|
H A D | zend_string.c | 95 if ((p->h == h) && (ZSTR_LEN(p->key) == ZSTR_LEN(str))) { in zend_new_interned_string_int() 96 if (!memcmp(ZSTR_VAL(p->key), ZSTR_VAL(str), ZSTR_LEN(str))) { in zend_new_interned_string_int() 98 return p->key; in zend_new_interned_string_int() 137 p->key = str; in zend_new_interned_string_int() 162 ZEND_ASSERT(GC_FLAGS(p->key) & IS_STR_PERSISTENT); in zend_interned_strings_snapshot_int() 163 GC_FLAGS(p->key) |= IS_STR_PERMANENT; in zend_interned_strings_snapshot_int() 179 if (GC_FLAGS(p->key) & IS_STR_PERMANENT) break; in zend_interned_strings_restore_int() 183 GC_FLAGS(p->key) &= ~IS_STR_INTERNED; in zend_interned_strings_restore_int() 184 GC_REFCOUNT(p->key) = 1; in zend_interned_strings_restore_int() 185 zend_string_free(p->key); in zend_interned_strings_restore_int()
|
/PHP-7.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-7.0/ext/spl/tests/ |
H A D | array_020.phpt | 20 function key() 23 return ArrayIterator::key(); 53 ArrayIteratorEx::key 59 ArrayIteratorEx::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) 154 MyObjectStorage::key(0) 159 MyObjectStorage::key(1) 164 MyObjectStorage::key(2) 174 MyObjectStorage::key(0) 179 MyObjectStorage::key(1) 195 MyObjectStorage::key(0)
|
H A D | bug62073.phpt | 7 foreach ($heap as $key => $value) { 8 var_dump($key); 15 var_dump($heap->key());
|
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 | 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_021.phpt | 64 function key() 67 return parent::key(); 116 RecursiveArrayIteratorIterator::key 125 RecursiveArrayIteratorIterator::key 134 RecursiveArrayIteratorIterator::key 140 RecursiveArrayIteratorIterator::key 151 RecursiveArrayIteratorIterator::key 166 RecursiveArrayIteratorIterator::key 174 RecursiveArrayIteratorIterator::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 | iterator_019.phpt | 10 echo $it->key() . '=>' . $it->current() . "\n"; 18 foreach($it as $key=>$val) 20 echo "$key=>$val\n";
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | array_walk_error1.phpt | 12 /* Prototype : callback(mixed value, mixed key, mixed user_data) 13 * Parameters : value - value in key/value pair 14 * key - key in key/value pair 17 function callback ($value, $key, $user_data) {
|
H A D | array_walk_recursive_error1.phpt | 12 /* Prototype : callback(mixed value, mixed key, mixed user_data) 13 * Parameters : value - value in key/value pair 14 * key - key in key/value pair 17 function callback ($value, $key, $user_data) {
|
H A D | usort_variation3.phpt | 50 'key' => 5, //single quoted key 51 "two" => 4, //double quoted key 52 " " => 0, // space as key 61 // binary key 69 // default key
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_ini.phpt | 42 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 45 $key = $row['Value']; 46 if (strlen($key) < 100) { 47 …die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $l… 53 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 55 $key = str_replace("A", "a", $key); 56 $key = str_replace("M", "m", $key); 57 if (strlen($key) != fwrite($fp, $key)) { 58 die(sprintf("skip Failed to create pub key file"));
|
/PHP-7.0/ext/xsl/tests/ |
H A D | xsltprocessor_removeParameter.phpt | 13 $proc->setParameter('', 'key', 'value'); 14 $proc->removeParameter('', 'key'); 15 var_dump($proc->getParameter('', 'key'));
|
/PHP-7.0/ext/mcrypt/tests/ |
H A D | bug70625.phpt | 8 $key = 'secretkey'; 9 $ciphertext = mcrypt_encrypt(MCRYPT_ARCFOUR, $key, 'payload', MCRYPT_MODE_STREAM); 11 $plaintext = mcrypt_decrypt(MCRYPT_ARCFOUR, $key, $ciphertext, MCRYPT_MODE_STREAM);
|
H A D | mcrypt_ofb.phpt | 7 $key = "0123456789012345"; 12 $enc_data = mcrypt_decrypt($cipher, $key, $secret, MCRYPT_MODE_OFB, $iv); 15 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_OFB, $iv)) . "\n"; 18 mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_OFB);
|
H A D | bug37595.phpt | 10 $key=''; 12 $key .= chr($t); 35 mcrypt_generic_init($td, $key, $iv); 40 mcrypt_generic_init($td, $key, $iv);
|
H A D | mcrypt_cbc.phpt | 7 $key = "0123456789012345"; 12 $enc_data = mcrypt_encrypt($cipher, $key, $secret, MCRYPT_MODE_CBC, $iv); 15 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC, $iv)) . "\n"; 18 var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC));
|
H A D | mcrypt_cfb.phpt | 7 $key = "0123456789012345"; 12 $enc_data = mcrypt_encrypt($cipher, $key, $secret, MCRYPT_MODE_CFB, $iv); 15 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CFB, $iv)) . "\n"; 18 var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CFB));
|