Home
last modified time | relevance | path

Searched refs:key (Results 151 – 175 of 1086) sorted by relevance

12345678910>>...44

/PHP-5.4/ext/spl/tests/
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 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 Dbug62073.phpt7 foreach ($heap as $key => $value) {
8 var_dump($key);
15 var_dump($heap->key());
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
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";
/PHP-5.4/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_cbc.phpt7 $key = "FooBar";
12 $enc_data = mcrypt_cbc($cipher, $key, $secret, MCRYPT_ENCRYPT, $iv);
15 echo trim(mcrypt_cbc($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n";
18 mcrypt_cbc($cipher, $key, $enc_data, MCRYPT_DECRYPT);
H A Dmcrypt_cfb.phpt7 $key = "FooBar";
12 $enc_data = mcrypt_cfb($cipher, $key, $secret, MCRYPT_ENCRYPT, $iv);
15 echo trim(mcrypt_cfb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n";
18 mcrypt_cfb($cipher, $key, $enc_data, MCRYPT_DECRYPT);
H A Dbug46010.phpt8 var_dump(bin2hex(mcrypt_encrypt(MCRYPT_TRIPLEDES, "key", "data", MCRYPT_MODE_ECB)));
9 var_dump(bin2hex(mcrypt_encrypt(MCRYPT_TRIPLEDES, "key", "data", MCRYPT_MODE_ECB, "a")));
10 var_dump(bin2hex(mcrypt_encrypt(MCRYPT_TRIPLEDES, "key", "data", MCRYPT_MODE_ECB, "12345678")));
/PHP-5.4/ext/xsl/tests/
H A Dxsltprocessor_removeParameter.phpt13 $proc->setParameter('', 'key', 'value');
14 $proc->removeParameter('', 'key');
15 var_dump($proc->getParameter('', 'key'));
/PHP-5.4/ext/standard/tests/array/
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.4/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);
H A Ddualiterator.inc109 /** @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()
/PHP-5.4/Zend/tests/
H A Dbug40705.phpt13 var_dump(key($foo));
15 var_dump(key($foo));
19 var_dump(key($foo));
/PHP-5.4/ext/hash/
H A Dhash.c358 hash->key = NULL; in PHP_FUNCTION()
515 efree(hash->key); in PHP_FUNCTION()
516 hash->key = NULL; in PHP_FUNCTION()
573 if (hash->key) { in PHP_FUNCTION()
574 memcpy(copy_hash->key, hash->key, hash->ops->block_size); in PHP_FUNCTION()
613 if (hash->key) { in php_hash_dtor()
615 efree(hash->key); in php_hash_dtor()
817 efree(key); in PHP_FUNCTION()
965 ZEND_ARG_INFO(0, key)
972 ZEND_ARG_INFO(0, key)
[all …]
/PHP-5.4/Zend/
H A Dzend_constants.c455 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant()
456 key++; in zend_quick_get_constant()
457 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant()
460 key++; in zend_quick_get_constant()
461 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant()
462 key++; in zend_quick_get_constant()
463 … (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, k… in zend_quick_get_constant()
466 key--; in zend_quick_get_constant()
467 … if (!zend_get_special_constant(Z_STRVAL(key->constant), Z_STRLEN(key->constant), &c TSRMLS_CC)) { in zend_quick_get_constant()
473 key--; in zend_quick_get_constant()
[all …]
/PHP-5.4/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.4/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.4/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 68 milliseconds

12345678910>>...44