/PHP-5.6/ext/spl/tests/ |
H A D | iterator_004.phpt | 30 public function key() 93 NumericArrayIterator::key 98 NumericArrayIterator::key 103 NumericArrayIterator::key 112 NumericArrayIterator::key 117 NumericArrayIterator::key 122 NumericArrayIterator::key 130 NumericArrayIterator::key 135 NumericArrayIterator::key 140 NumericArrayIterator::key
|
H A D | arrayObject_setIteratorClass_error1.phpt | 8 foreach($ao as $key=>$value) { 9 echo " $key=>$value\n"; 18 foreach($ao as $key=>$value) { 19 echo " $key=>$value\n"; 28 foreach($ao as $key=>$value) { 29 echo " $key=>$value\n"; 37 foreach($ao as $key=>$value) { 38 echo " $key=>$value\n";
|
H A D | SplFixedArray_key_param.phpt | 2 SplFixedArray::key() with a parameter passed. This is a bug and an error should be called. 15 echo $array->key( array("this","should","not","execute") ); 20 Warning: SplFixedArray::key() expects exactly 0 parameters, 1 given in %s on line %d 22 Warning: SplFixedArray::key() expects exactly 0 parameters, 1 given in %s on line %d 24 Warning: SplFixedArray::key() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | arrayObject_getIteratorClass_basic1.phpt | 36 function key() { 39 return parent::key(); 48 foreach($ao as $key=>$value) { 49 echo " $key=>$value\n"; 56 foreach($ao as $key=>$value) { 57 echo "$key=>$value\n"; 81 In MyIterator::key() 86 In MyIterator::key() 91 In MyIterator::key()
|
H A D | iterator_014.phpt | 48 function key() 51 return parent::key(); 82 RecursiveArrayIteratorIterator::key 89 RecursiveArrayIteratorIterator::key 96 RecursiveArrayIteratorIterator::key 101 RecursiveArrayIteratorIterator::key 112 RecursiveArrayIteratorIterator::key 125 RecursiveArrayIteratorIterator::key 132 RecursiveArrayIteratorIterator::key
|
H A D | dit_005.phpt | 8 var_dump($a->key() == $b->key()); 14 var_dump($a->key() == $c->key());
|
/PHP-5.6/tests/lang/ |
H A D | foreachLoopIteratorAggregate.001.phpt | 33 public function key() { 69 public function key() { 170 --> EnglishMealIterator::key (0) 175 --> EnglishMealIterator::key (1) 180 --> EnglishMealIterator::key (2) 189 --> FrenchMealIterator::key (0) 194 --> FrenchMealIterator::key (1) 199 --> FrenchMealIterator::key (2) 204 --> FrenchMealIterator::key (3) 216 --> EnglishMealIterator::key (0) [all …]
|
H A D | foreachLoopIteratorAggregate.003.phpt | 33 public function key() { 81 --> EnglishMealIterator::key (0) 86 --> EnglishMealIterator::key (1) 91 --> EnglishMealIterator::key (2) 100 --> EnglishMealIterator::key (0) 105 --> EnglishMealIterator::key (1) 110 --> EnglishMealIterator::key (2) 119 --> EnglishMealIterator::key (0) 124 --> EnglishMealIterator::key (1) 129 --> EnglishMealIterator::key (2)
|
/PHP-5.6/ext/sysvsem/ |
H A D | sysvsem.c | 61 ZEND_ARG_INFO(0, key) 191 long key, max_acquire = 1, perm = 0666, auto_release = 1; in PHP_FUNCTION() local 197 …if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|lll", &key, &max_acquire, &perm… in PHP_FUNCTION() 207 semid = semget(key, 3, perm|IPC_CREAT); in PHP_FUNCTION() 209 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION() 241 …L TSRMLS_CC, E_WARNING, "failed acquiring SYSVSEM_SETVAL for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION() 249 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION() 260 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION() 265 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION() 270 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/sysvshm/tests/ |
H A D | 002.phpt | 8 $key = ftok(__FILE__, 't'); 16 var_dump($s = shm_attach($key, -1)); 18 var_dump($s = shm_attach($key, 0)); 21 var_dump($s = shm_attach($key, 1024)); 22 shm_remove($key); 23 var_dump($s = shm_attach($key, 1024)); 25 var_dump(shm_attach($key, 1024, 0666)); 28 var_dump($s = shm_attach($key, 1024)); 30 var_dump($s = shm_attach($key));
|
/PHP-5.6/ext/mcrypt/tests/ |
H A D | bug46010.phpt | 8 $key = "012345678901234567890123"; 9 var_dump(bin2hex(mcrypt_encrypt(MCRYPT_TRIPLEDES, $key, "data", MCRYPT_MODE_ECB))); 10 var_dump(bin2hex(mcrypt_encrypt(MCRYPT_TRIPLEDES, $key, "data", MCRYPT_MODE_ECB, "a"))); 11 var_dump(bin2hex(mcrypt_encrypt(MCRYPT_TRIPLEDES, $key, "data", MCRYPT_MODE_ECB, "12345678")));
|
H A D | mcrypt_decrypt_3des_cbc.phpt | 11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i… 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 50 echo "\n--- testing different key lengths\n"; 56 $key = b'123456789012345678901234'; 60 special_var_dump(mcrypt_decrypt($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i])); 71 --- testing different key lengths 73 key length=8 78 key length=20 83 key length=24 86 key length=26
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | bug21998.phpt | 8 var_dump(key($a)); 10 var_dump(key($a)); 12 var_dump(key($a)); 14 var_dump(key($a));
|
H A D | array_key_exists_object1.phpt | 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 6 * Description: Checks if the given key or index exists in the array 33 echo "\$key = var1:\n"; 35 echo "\$key = var3:\n"; 42 echo "\$key = var3:\n"; 54 $key = var1: 56 $key = var3: 69 $key = var3:
|
/PHP-5.6/Zend/tests/ |
H A D | bug34467.phpt | 8 function __set ($key, $value) { 9 $this->arr[$key] = $value; 12 function __get ($key) { 13 return $this->arr[$key];
|
/PHP-5.6/Zend/ |
H A D | zend_variables.c | 198 … zval_copy_static_var(zval **p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key) /* {{{ */ in zval_copy_static_var() argument 210 …if (zend_hash_quick_find(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, (void **) &… in zval_copy_static_var() 214 …zend_hash_quick_add(EG(active_symbol_table), key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zva… in zval_copy_static_var() 217 zend_error(E_NOTICE,"Undefined variable: %s", key->arKey); in zval_copy_static_var() 236 …if (zend_hash_quick_add(target, key->arKey, key->nKeyLength, key->h, &tmp, sizeof(zval*), NULL) ==… in zval_copy_static_var()
|
/PHP-5.6/ext/dba/tests/ |
H A D | dba_db1.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_db2.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_db3.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_db4_000.phpt | 25 "key number 6" written 26 Failed to write "key number 6" 2nd time 30 ["key number 6"]=> 42 "key number 6" written 43 Failed to write "key number 6" 2nd time 47 ["key number 6"]=>
|
H A D | dba_dbm.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_flatfile.phpt | 25 "key number 6" written 26 Failed to write "key number 6" 2nd time 30 ["key number 6"]=> 42 "key number 6" written 43 Failed to write "key number 6" 2nd time 47 ["key number 6"]=>
|
H A D | dba_inifile.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_ndbm.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
/PHP-5.6/ext/phar/tests/ |
H A D | phar_buildfromiterator4.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 64 key 68 key 72 key 76 key
|