/PHP-5.5/ext/standard/tests/array/ |
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) );
|
H A D | array_walk_recursive_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 | array_walk_recursive_variation5.phpt | 25 /* 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 D | array_walk_variation5.phpt | 25 /* 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 D | each_variation6.phpt | 6 * 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 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.5/Zend/tests/ |
H A D | bug40705.phpt | 13 var_dump(key($foo)); 15 var_dump(key($foo)); 19 var_dump(key($foo));
|
/PHP-5.5/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.5/Zend/ |
H A D | zend_constants.c | 455 … (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 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.5/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.5/ext/mcrypt/tests/ |
H A D | mcrypt_ecb.phpt | 7 $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 D | mcrypt_ofb.phpt | 7 $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 D | gtTestCase.php | 159 $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 D | dualiterator.inc | 109 /** @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 D | bug66501.phpt | 2 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 D | incomplete_class.c | 57 …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 D | 024.phpt | 27 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 D | 004.phpt | 26 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 D | dba_tcadb.c | 95 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()
|