Home
last modified time | relevance | path

Searched refs:key (Results 176 – 200 of 1173) sorted by relevance

12345678910>>...47

/PHP-5.6/ext/xsl/tests/
H A Dxsltprocessor_removeParameter.phpt13 $proc->setParameter('', 'key', 'value');
14 $proc->removeParameter('', 'key');
15 var_dump($proc->getParameter('', 'key'));
/PHP-5.6/ext/spl/tests/
H A Dbug62073.phpt7 foreach ($heap as $key => $value) {
8 var_dump($key);
15 var_dump($heap->key());
H A Darray_012.phpt12 foreach($it as $key => $val)
14 echo "$key=>$val\n";
34 foreach($it as $key => $val)
36 echo "$key=>$val\n";
H A Dbug53515.phpt12 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 Diterator_021.phpt64 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 Dmultiple_iterator_001.phpt26 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 Diterator_012.phpt10 echo $it->key() . '=>' . $it->current() . "\n";
18 foreach($it as $key=>$val)
20 echo "$key=>$val\n";
H A Diterator_019.phpt10 echo $it->key() . '=>' . $it->current() . "\n";
18 foreach($it as $key=>$val)
20 echo "$key=>$val\n";
H A Diterator_001.phpt30 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 Dzend_constants.c442 … (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 Dbug37595.phpt10 $key='';
12 $key .= chr($t);
35 mcrypt_generic_init($td, $key, $iv);
40 mcrypt_generic_init($td, $key, $iv);
H A Dmcrypt_ecb.phpt7 $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 Dmcrypt_ofb.phpt7 $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 Darray_filter_variation10.phpt19 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 Darray_flip_variation2.phpt6 * 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 Darray_walk_variation4.phpt17 /* 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 Deach_variation5.phpt6 * Description: Return the currently pointed key..value pair in the passed array,
47 ["key"]=>
71 ["key"]=>
81 ["key"]=>
93 ["key"]=>
H A Dbug35022.phpt2 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 Dbug40705.phpt13 var_dump(key($foo));
15 var_dump(key($foo));
19 var_dump(key($foo));
/PHP-5.6/ext/spl/examples/
H A Dinigroups.inc23 * 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 Dmysqli_pam_sha256_public_key_option_invalid.phpt52 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 Dphar_oo_004.phpt50 function key()
53 return parent::key();
106 MyDirectoryIterator::key
112 MyDirectoryIterator::key
118 MyDirectoryIterator::key
124 MyDirectoryIterator::key
H A Dphar_oo_004U.phpt50 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 Dsysvshm.c44 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 DgtTestCase.php159 $key = $this->optionalSections->getSkipifKey();
161 if($key == 'win') {
164 if($key == 'notwin' ) {
168 if($key == '64b' ) {
172 if($key == 'not64b' ) {

Completed in 32 milliseconds

12345678910>>...47