Home
last modified time | relevance | path

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

12345678910>>...46

/PHP-5.5/ext/standard/tests/array/
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) );
H A Darray_walk_recursive_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 Darray_walk_recursive_variation5.phpt25 /* Prototype : callback(int $value, mixed $key)
27 * $key - keys in given input array
30 function callback($value, $key)
34 var_dump($key); // key
H A Darray_walk_variation5.phpt25 /* Prototype : callback(int $value, mixed $key)
27 * $key - keys in given input array
30 function callback($value, $key)
34 var_dump($key); // key
H A Deach_variation6.phpt6 * Description: Return the currently pointed key..value pair in the passed array,
20 echo key($arr) . " => " . current($arr) . "\n";
26 echo key($arr) . " => " . current($arr) . "\n";
45 ["key"]=>
/PHP-5.5/ext/spl/tests/
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.5/Zend/tests/
H A Dbug40705.phpt13 var_dump(key($foo));
15 var_dump(key($foo));
19 var_dump(key($foo));
/PHP-5.5/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.5/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.5/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.5/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.5/ext/mcrypt/tests/
H A Dmcrypt_ecb.phpt7 $key = "FooBar";
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 = "FooBar";
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.5/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' ) {
/PHP-5.5/ext/spl/examples/
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.5/ext/openssl/tests/
H A Dbug66501.phpt2 Bug #66501: EC private key support in openssl_sign
18 $key = openssl_pkey_get_private($pkey);
19 $res = openssl_sign($data ='alpha', $sign, $key, 'ecdsa-with-SHA1');
/PHP-5.5/ext/standard/
H A Dincomplete_class.c57 …ass_get_property(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC) /* {{{ */ in incomplete_class_get_property()
69 …rite_property(zval *object, zval *member, zval *value, const zend_literal *key TSRMLS_DC) /* {{{ */ in incomplete_class_write_property()
75 …property_ptr_ptr(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC) /* {{{ */ in incomplete_class_get_property_ptr_ptr()
82 static void incomplete_class_unset_property(zval *object, zval *member, const zend_literal *key TSR… in incomplete_class_unset_property()
88 …_property(zval *object, zval *member, int check_empty, const zend_literal *key TSRMLS_DC) /* {{{ */ in incomplete_class_has_property()
95 …et_method(zval **object, char *method, int method_len, const zend_literal *key TSRMLS_DC) /* {{{ */ in incomplete_class_get_method()
/PHP-5.5/ext/session/tests/
H A D024.phpt27 function read($key)
29 print "READ: $key\n";
33 function write($key, $val)
35 print "WRITE: $key, $val\n";
40 function destroy($key)
42 print "DESTROY: $key\n";
H A D004.phpt26 function read($key)
28 print "READ: $key\n";
32 function write($key, $val)
34 print "WRITE: $key, $val\n";
39 function destroy($key)
41 print "DESTROY: $key\n";
/PHP-5.5/ext/dba/
H A Ddba_tcadb.c95 value = tcadbget(dba->tcadb, key, keylen, &value_size); in DBA_FETCH_FUNC()
114 if (tcadbvsiz(dba->tcadb, key, keylen) > -1) { in DBA_UPDATE_FUNC()
119 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC()
125 php_error_docref2(NULL TSRMLS_CC, key, val, E_WARNING, "Error updating data"); in DBA_UPDATE_FUNC()
135 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC()
148 return tcadbout(dba->tcadb, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()

Completed in 36 milliseconds

12345678910>>...46