/PHP-5.6/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-5.6/ext/spl/tests/ |
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 | 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_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";
|
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
|
/PHP-5.6/Zend/ |
H A D | zend_constants.c | 442 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant() 443 key++; in zend_quick_get_constant() 444 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant() 447 key++; in zend_quick_get_constant() 448 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant() 449 key++; in zend_quick_get_constant() 450 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant() 453 key--; in zend_quick_get_constant() 454 … if (!zend_get_special_constant(Z_STRVAL(key->constant), Z_STRLEN(key->constant), &c TSRMLS_CC)) { in zend_quick_get_constant() 460 key--; in zend_quick_get_constant() [all …]
|
/PHP-5.6/ext/mcrypt/tests/ |
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_ecb.phpt | 7 $key = "0123456789012345"; 12 $enc_data = mcrypt_ecb($cipher, $key, $secret, MCRYPT_ENCRYPT, $iv); 15 echo trim(mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n"; 18 mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT);
|
H A D | mcrypt_ofb.phpt | 7 $key = "0123456789012345"; 12 $enc_data = mcrypt_ofb($cipher, $key, $secret, MCRYPT_ENCRYPT, $iv); 15 echo trim(mcrypt_ofb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n"; 18 mcrypt_ofb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv);
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_filter_variation10.phpt | 19 function dump($value, $key) 21 echo "$key = $value\n"; 26 echo "*** Testing array_filter() : usage variations - 'callback' filters based on key value ***\n"; 28 function dump2($value, $key) 30 return $key > 4; 63 *** Testing array_filter() : usage variations - 'callback' filters based on key value *** 76 Notice: Undefined variable: key in %s on line %d
|
H A D | array_flip_variation2.phpt | 6 * Description: Return array with key <-> value flipped 30 // default key 31 'one', //expected: default key 0, value will be replaced by 'bool_key4' 41 'key' => 'string_key1', 57 // binary key 87 string(3) "key"
|
H A D | array_walk_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 | each_variation5.phpt | 6 * Description: Return the currently pointed key..value pair in the passed array, 47 ["key"]=> 71 ["key"]=> 81 ["key"]=> 93 ["key"]=>
|
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-5.6/Zend/tests/ |
H A D | bug40705.phpt | 13 var_dump(key($foo)); 15 var_dump(key($foo)); 19 var_dump(key($foo));
|
/PHP-5.6/ext/spl/examples/ |
H A D | inigroups.inc | 23 * relation. Doing so both current() and key() methods must be overwritten. 26 * key() would be needed. 43 return substr(parent::key(),1,-1); 49 function key() { 50 return substr(parent::key(),1,-1);
|
/PHP-5.6/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-5.6/ext/phar/tests/ |
H A D | phar_oo_004.phpt | 50 function key() 53 return parent::key(); 106 MyDirectoryIterator::key 112 MyDirectoryIterator::key 118 MyDirectoryIterator::key 124 MyDirectoryIterator::key
|
H A D | phar_oo_004U.phpt | 50 function key() 53 return parent::key(); 106 MyDirectoryIterator::key 112 MyDirectoryIterator::key 118 MyDirectoryIterator::key 124 MyDirectoryIterator::key
|
/PHP-5.6/ext/sysvshm/ |
H A D | sysvshm.c | 44 ZEND_ARG_INFO(0, key) 119 static int php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len); 120 static long php_check_shm_data(sysvshm_chunk_head *ptr, long key); 196 shm_list_ptr->key = shm_key; in PHP_FUNCTION() 232 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%x, id %ld: %s", shm_list_ptr->key, … in PHP_FUNCTION() 359 static int php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len) in php_put_shm_data() argument 367 if ((shm_varpos = php_check_shm_data(ptr, key)) > 0) { in php_put_shm_data() 376 shm_var->key = key; in php_put_shm_data() 388 static long php_check_shm_data(sysvshm_chunk_head *ptr, long key) in php_check_shm_data() argument 400 if (shm_var->key == key) { in php_check_shm_data()
|
/PHP-5.6/scripts/dev/generate-phpt/src/testcase/ |
H A D | gtTestCase.php | 159 $key = $this->optionalSections->getSkipifKey(); 161 if($key == 'win') { 164 if($key == 'notwin' ) { 168 if($key == '64b' ) { 172 if($key == 'not64b' ) {
|