/PHP-5.5/ext/standard/tests/array/ |
H A D | array_walk_recursive_variation7.phpt | 27 var_dump( array_walk_recursive($input, create_function('$value, $key', 'var_dump($key); var_dump($v… 30 var_dump( array_walk_recursive($input, create_function('$value, $key, $user_data', 'var_dump($key);… 33 var_dump( array_walk_recursive($input, create_function('$value, $key, $user_data', 'var_dump($key);…
|
H A D | array_walk_variation7.phpt | 27 var_dump( array_walk($input, create_function('$value, $key', 'var_dump($key); var_dump($value); ech… 30 var_dump( array_walk($input, create_function('$value, $key, $user_data', 'var_dump($key); var_dump(… 33 var_dump( array_walk($input, create_function('$value, $key, $user_data', 'var_dump($key); var_dump(…
|
H A D | array_search.phpt | 8 $arr3 = array('c','key'=>'d'); 9 $arr4 = array("a\0b"=>'e','key'=>'d', 'f'); 28 string(3) "key"
|
H A D | array_key_exists_variation1.phpt | 2 Test array_key_exists() function : usage variations - Pass different data types as $key arg 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 6 * Description: Checks if the given key or index exists in the array 12 * Pass different data types as $key argument to array_key_exists() to test behaviour 18 $search = array ('zero', 'key' => 'val', 'two'); 28 return "key"; 34 key 40 // unexpected values to be passed to $key argument 72 /*19*/ "key", 73 'key',
|
H A D | array_diff_variation6.phpt | 15 * 3. duplicate key names 20 $array_index = array('a', 'b', 'c', 0 => 'd', 'b'); //duplicate key (0), duplicate value (b) 21 $array_assoc = array ('2' => 'c', //same key=>value pair, different order 24 'b' => '3', //key and value from array_index swapped
|
H A D | array_change_key_case_variation.phpt | 13 /* should return one value key pair with key being in lowercase */ 17 /* should return one value key pair with key being in uppercase */
|
H A D | array_diff_assoc_variation8.phpt | 16 * 3. duplicate key names 21 $array_index = array('a', 'b', 'c', 0 => 'd', 'b'); //duplicate key (0), duplicate value (b) 22 $array_assoc = array ('2' => 'c', //same key=>value pair, different order 25 'b' => '3', //key and value from array_index swapped
|
/PHP-5.5/ext/spl/tests/ |
H A D | iterator_034.phpt | 64 function key() 67 return parent::key(); 129 RecursiveArrayIteratorIterator::key() 139 RecursiveArrayIteratorIterator::key() 149 RecursiveArrayIteratorIterator::key() 155 RecursiveArrayIteratorIterator::key() 167 RecursiveArrayIteratorIterator::key() 173 RecursiveArrayIteratorIterator::key()
|
/PHP-5.5/ext/standard/ |
H A D | crypt_freesec.c | 385 (uint32_t)(u_char)key[3] | in des_setkey() 386 ((uint32_t)(u_char)key[2] << 8) | in des_setkey() 388 ((uint32_t)(u_char)key[0] << 24); in des_setkey() 390 (uint32_t)(u_char)key[7] | in des_setkey() 391 ((uint32_t)(u_char)key[6] << 8) | in des_setkey() 393 ((uint32_t)(u_char)key[4] << 24); in des_setkey() 632 *q++ = *key << 1; in _crypt_extended_r() 633 if (*key) in _crypt_extended_r() 634 key++; in _crypt_extended_r() 661 while (*key) { in _crypt_extended_r() [all …]
|
/PHP-5.5/ext/hash/ |
H A D | hash.c | 371 hash->key = NULL; in PHP_FUNCTION() 528 efree(hash->key); in PHP_FUNCTION() 529 hash->key = NULL; in PHP_FUNCTION() 586 if (hash->key) { in PHP_FUNCTION() 587 memcpy(copy_hash->key, hash->key, hash->ops->block_size); in PHP_FUNCTION() 750 if (hash->key) { in php_hash_dtor() 752 efree(hash->key); in php_hash_dtor() 954 efree(key); in PHP_FUNCTION() 1102 ZEND_ARG_INFO(0, key) 1109 ZEND_ARG_INFO(0, key) [all …]
|
/PHP-5.5/ext/spl/examples/ |
H A D | dbaarray.inc | 47 * @param $name key to read from 66 * @param $name key to write to 77 * @return whether key $name exists. 85 * Delete a key/value pair. 87 * @param $name key to delete.
|
/PHP-5.5/tests/lang/ |
H A D | foreachLoopObjects.001.phpt | 2 Foreach loop on objects - basic loop with just value and key => value. 23 echo "\nCheck key and value after the loop.\n"; 34 echo "\nCheck key and value after the loop.\n"; 51 Check key and value after the loop. 67 Check key and value after the loop.
|
/PHP-5.5/ext/mcrypt/tests/ |
H A D | mcrypt_cfb.phpt | 7 $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 D | mcrypt_decrypt.phpt | 7 $key = "FooBar"; 13 $enc_data = mcrypt_encrypt($cipher, $key, $secret, $mode, $iv); 16 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, $mode, $iv)) . "\n"; 19 mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC);
|
H A D | mcrypt_cbc.phpt | 7 $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);
|
/PHP-5.5/ext/dba/tests/ |
H A D | dba_handlers.phpt | 21 foreach ($h as $key) { 22 if ($key === "flatfile") { 46 foreach ($h as $key => $val) { 47 if ($key === "flatfile") {
|
/PHP-5.5/TSRM/ |
H A D | tsrm_win32.h | 28 int key; member 104 TSRM_API int shmget(int key, int size, int flags); 105 TSRM_API void *shmat(int key, const void *shmaddr, int flags); 107 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
|
/PHP-5.5/tests/classes/ |
H A D | iterators_007.phpt | 12 …public function key() { if ($this->x == 2) throw new Exception(__METHOD__); return key($this… 14 …public function valid() { if ($this->x == 4) throw new Exception(__METHOD__); return (key($thi… 39 Caught in Test::key()
|
/PHP-5.5/ext/json/ |
H A D | JSON_parser.c | 406 …add_property_zval_ex(root, (key->len ? key->c : "_empty_"), (key->len ? (key->len + 1) : sizeof("_… in attach_zval() 411 …add_assoc_zval_ex(root, (key->len ? key->c : ""), (key->len ? (key->len + 1) : sizeof("")), child); in attach_zval() 413 key->len = 0; in attach_zval() 448 smart_str key = {0}; in parse_JSON_ex() local 553 …add_property_zval_ex(jp->the_zstack[jp->top], (key.len ? key.c : "_empty_"), (key.len ? (key.len +… in parse_JSON_ex() 556 …add_assoc_zval_ex(jp->the_zstack[jp->top], (key.len ? key.c : ""), (key.len ? (key.len + 1) : size… in parse_JSON_ex() 558 key.len = 0; in parse_JSON_ex() 659 SWAP_BUFFERS(buf, key); in parse_JSON_ex() 698 …add_property_zval_ex(jp->the_zstack[jp->top], (key.len ? key.c : "_empty_"), (key.len ? (key.len +… in parse_JSON_ex() 701 …add_assoc_zval_ex(jp->the_zstack[jp->top], (key.len ? key.c : ""), (key.len ? (key.len + 1) : size… in parse_JSON_ex() [all …]
|
/PHP-5.5/ext/sysvmsg/ |
H A D | sysvmsg.c | 44 ZEND_ARG_INFO(0, key) 82 ZEND_ARG_INFO(0, key) 234 long key; in PHP_FUNCTION() local 236 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &key) == FAILURE) { in PHP_FUNCTION() 240 if (msgget(key, 0) < 0) { in PHP_FUNCTION() 253 long key; in PHP_FUNCTION() local 257 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &key, &perms) == FAILURE) { in PHP_FUNCTION() 263 mq->key = key; in PHP_FUNCTION() 264 mq->id = msgget(key, 0); in PHP_FUNCTION() 267 mq->id = msgget(key, IPC_CREAT | IPC_EXCL | perms); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/exif/ |
H A D | example.php | 16 foreach($exif as $key=>$section) { 18 echo "$key.$name: $val<br>\n";
|
/PHP-5.5/ext/openssl/tests/ |
H A D | 018.phpt | 8 $privkey = "file://" . dirname(__FILE__) . "/private.key"; 18 Warning: openssl_sign(): supplied key param cannot be coerced into a private key in %s on line %d
|
/PHP-5.5/sapi/apache2filter/ |
H A D | php_apache.h | 64 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \ argument 70 key = elts[i].key; \
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | phar_buildfromiterator9.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 58 key
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_buildfromiterator9.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 58 key
|