Home
last modified time | relevance | path

Searched refs:key (Results 126 – 150 of 1086) sorted by relevance

12345678910>>...44

/PHP-5.4/ext/dba/tests/
H A Ddba_handler.inc29 echo dba_exists("key$i", $db_file) ? "Y" : "N";
49 dba_insert("key number 6", "The 6th value", $db_writer);
50 @dba_insert("key number 6", "The 6th value inserted again would be an error", $db_writer);
54 echo dba_fetch("key number 6", $db_writer)."\n";
61 $key = dba_firstkey($db_file);
63 while($key) {
64 $res[$key] = dba_fetch($key, $db_file);
65 $key = dba_nextkey($db_file);
H A Ddba_db4_handlers.phpt21 foreach ($h as $key) {
22 if ($key === "db4") {
34 foreach ($h as $key => $val) {
35 if ($key === "db4") {
/PHP-5.4/ext/standard/tests/array/
H A Darray_key_exists_variation5.phpt5 /* Prototype : bool array_key_exists(mixed $key, array $search)
6 * Description: Checks if the given key or index exists in the array
21 echo "\n-- Attempt to match key in sub-array --\n";
22 // this key is in the sub-array
34 -- Attempt to match key in sub-array --
H A Darray_slice_variation7.phpt117 -- Iteration 1 : key type is int --
141 -- Iteration 2 : key type is float --
161 -- Iteration 3 : key type is extreme floats --
177 -- Iteration 4 : key type is null uppercase --
189 -- Iteration 5 : key type is null lowercase --
201 -- Iteration 6 : key type is bool lowercase --
217 -- Iteration 7 : key type is bool uppercase --
233 -- Iteration 8 : key type is empty double quotes --
257 -- Iteration 10 : key type is string --
277 -- Iteration 11 : key type is undefined --
[all …]
H A Darray_key_exists_basic.phpt5 /* Prototype : bool array_key_exists(mixed $key, array $search)
6 * Description: Checks if the given key or index exists in the array
17 $key1 = 'key';
19 $search = array('one', 'key' => 'value', 'val');
H A Darray_key_exists_error.phpt5 /* Prototype : bool array_key_exists(mixed $key, array $search)
6 * Description: Checks if the given key or index exists in the array
19 $key = 1;
22 var_dump( array_key_exists($key, $search, $extra_arg) );
26 $key = 1;
27 var_dump( array_key_exists($key) );
H A Duasort_variation3.phpt54 // default key
55 1, //expecting: default key 0, value will be replaced by 'FALSE'
65 'key' => 5, //single quoted key
66 "two" => 4, //double quoted key
69 " " => 0, // space as key
81 // binary key
126 ["key"]=>
H A Darray_walk_error1.phpt12 /* Prototype : callback(mixed value, mixed key, mixed user_data)
13 * Parameters : value - value in key/value pair
14 * key - key in key/value pair
17 function callback ($value, $key, $user_data) {
H A Darray_walk_recursive_error1.phpt12 /* Prototype : callback(mixed value, mixed key, mixed user_data)
13 * Parameters : value - value in key/value pair
14 * key - key in key/value pair
17 function callback ($value, $key, $user_data) {
H A Dusort_variation3.phpt50 'key' => 5, //single quoted key
51 "two" => 4, //double quoted key
52 " " => 0, // space as key
61 // binary key
69 // default key
/PHP-5.4/ext/openssl/tests/
H A Dbug38255.phpt2 openssl key from zval leaks
33 Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d
35 Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d
38 Warning: openssl_verify(): supplied key param cannot be coerced into a public key in %s on line %d
/PHP-5.4/ext/spl/tests/
H A Dbug42703.phpt20 public function key() { }
27 foreach($itit as $key => $value) {
28 echo $key, $value;
36 var_dump($itit->key());
H A DSplFileObject_key_error003.phpt2 SPL: SplFileObject::key error
12 $s->key(3);
15 Warning: SplFileObject::key() expects exactly 0 parameters, 1 given in %s on line %d
H A Dobserver_002.phpt20 function key()
22 echo __METHOD__ . "(" . parent::key() . ")\n";
23 return parent::key();
90 foreach($this->observers as $key => $observer)
154 MyObjectStorage::key(0)
159 MyObjectStorage::key(1)
164 MyObjectStorage::key(2)
174 MyObjectStorage::key(0)
179 MyObjectStorage::key(1)
195 MyObjectStorage::key(0)
H A Darray_020.phpt20 function key()
23 return ArrayIterator::key();
53 ArrayIteratorEx::key
59 ArrayIteratorEx::key
/PHP-5.4/ext/spl/internal/
H A Dregexiterator.inc22 const USE_KEY = 0x00000001; /**< If present in $flags the key is
29 const REPLACE = 4; /**< Mode: Replace the input key or current */
37 private $key; /**< the value used for key() */
61 * Match current or key against regular expression using mode, flags and
71 $this->key = parent::key();
74 $subject = ($this->flags & self::USE_KEY) ? $this->key : $this->current;
97 $this->key = $result;
106 /** @return the key after accept has been called
108 function key()
110 return $this->key;
/PHP-5.4/tests/lang/
H A DforeachLoopIterator.001.phpt34 public function key() {
87 --> MealIterator::key (0)
92 --> MealIterator::key (1)
97 --> MealIterator::key (2)
109 --> MealIterator::key (0)
116 --> MealIterator::key (0)
121 --> MealIterator::key (1)
126 --> MealIterator::key (2)
H A Deach_binary_safety.phpt7 while (list($key, $val) = each($arr)) {
8 echo strlen($key), ': ';
9 echo urlencode($key), ' => ', urlencode($val), "\n";
/PHP-5.4/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.4/ext/session/
H A Dmod_files.c75 static int ps_files_valid_key(const char *key) in ps_files_valid_key() argument
82 for (p = key; (c = *p); p++) { in ps_files_valid_key()
94 len = p - key; in ps_files_valid_key()
112 key_len = strlen(key); in ps_files_path_create()
118 p = key; in ps_files_path_create()
128 memcpy(buf + n, key, key_len); in ps_files_path_create()
165 if (!ps_files_valid_key(key)) { in ps_files_open()
170 if (!ps_files_path_create(buf, sizeof(buf), data, key)) { in ps_files_open()
174 data->lastkey = estrdup(key); in ps_files_open()
356 ps_files_open(data, key TSRMLS_CC); in PS_READ_FUNC()
[all …]
/PHP-5.4/ext/reflection/tests/
H A DReflectionParameter_export_error2.phpt13 foreach($params as $key => $value) {
14 ReflectionParameter::export($reflect, $key);
21 foreach($params as $key => $value) {
22 ReflectionParameter::export(42, $key);
/PHP-5.4/ext/dba/
H A Ddba.c75 ZEND_ARG_INFO(0, key)
80 ZEND_ARG_INFO(0, key)
86 ZEND_ARG_INFO(0, key)
98 ZEND_ARG_INFO(0, key)
103 ZEND_ARG_INFO(0, key)
109 ZEND_ARG_INFO(0, key)
229 zval tmp = *key;
558 zval *key; in php_dba_update() local
585 #define FREENOW if(args) efree(args); if(key) efree(key)
1049 char *key, *name; in PHP_FUNCTION() local
[all …]
/PHP-5.4/Zend/
H A Dzend_object_handlers.h34 …_read_property_t)(zval *object, zval *member, int type, const struct _zend_literal *key TSRMLS_DC);
46 …te_property_t)(zval *object, zval *member, zval *value, const struct _zend_literal *key TSRMLS_DC);
53 …ect_get_property_ptr_ptr_t)(zval *object, zval *member, const struct _zend_literal *key TSRMLS_DC);
70 …erty_t)(zval *object, zval *member, int has_set_exists, const struct _zend_literal *key TSRMLS_DC);
76 …nd_object_unset_property_t)(zval *object, zval *member, const struct _zend_literal *key TSRMLS_DC);
91 …hod_t)(zval **object_ptr, char *method, int method_len, const struct _zend_literal *key TSRMLS_DC);
153 …t char *function_name_strval, int function_name_strlen, const struct _zend_literal *key TSRMLS_DC);
154 …property_name, int property_name_len, zend_bool silent, const struct _zend_literal *key TSRMLS_DC);
155 … *ce, const char *property_name, int property_name_len, const struct _zend_literal *key TSRMLS_DC);
161 …write_property(zval *object, zval *member, zval *value, const struct _zend_literal *key TSRMLS_DC);
/PHP-5.4/ext/simplexml/tests/
H A Dbug46048.phpt9 <key>value</key>
24 [key] => value

Completed in 34 milliseconds

12345678910>>...44