/PHP-5.6/ext/mcrypt/tests/ |
H A D | mcrypt_cfb.phpt | 7 $key = "0123456789012345"; 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 var_dump(mcrypt_cfb($cipher, $key, $enc_data, MCRYPT_DECRYPT));
|
H A D | mcrypt_decrypt.phpt | 7 $key = "0123456789012345"; 13 $enc_data = mcrypt_encrypt($cipher, $key, $secret, $mode, $iv); 16 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, $mode, $iv)) . "\n"; 19 var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC));
|
/PHP-5.6/ext/standard/tests/array/ |
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
|
H A D | 009.phpt | 2 Test key(), current(), next() & reset() functions 42 var_dump( key($sub_array) ); // key of the current element 47 var_dump( key($sub_array) ); // access the array after reset 62 var_dump( key($sub_array) ); // key of the current element 67 var_dump( key($sub_array) ); // access the array after reset 78 var_dump( key($unset_array) ); 85 var_dump( key() ); 92 var_dump( key($temp_array, $temp_array) ); 101 var_dump( key($int_var) ); 102 var_dump( key($float_var) ); [all …]
|
H A D | next_basic.phpt | 17 echo key($array) . " => " . current($array) . "\n"; 20 echo key($array) . " => " . current($array) . "\n"; 23 echo key($array) . " => " . current($array) . "\n";
|
/PHP-5.6/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.6/ext/openssl/tests/ |
H A D | bug68912.phpt | 7 if (!@openssl_pkey_new()) die("skip cannot create private key"); 19 Warning: openssl_spki_new(): supplied resource is not a valid OpenSSL X.509/key resource in %sbug68… 21 Warning: openssl_spki_new(): Unable to use supplied private key in %sbug68912.php on line %d
|
H A D | openssl_sign_basic.phpt | 8 $privkey = "file://" . dirname(__FILE__) . "/private_rsa_1024.key"; 18 Warning: openssl_sign(): supplied key param cannot be coerced into a private key in %s on line %d
|
/PHP-5.6/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.6/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.6/ext/exif/ |
H A D | example.php | 16 foreach($exif as $key=>$section) { 18 echo "$key.$name: $val<br>\n";
|
/PHP-5.6/sapi/apache2filter/ |
H A D | php_apache.h | 60 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \ argument 66 key = elts[i].key; \
|
/PHP-5.6/ext/phar/tests/zip/ |
H A D | phar_buildfromiterator9.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 58 key
|
H A D | phar_buildfromiterator4.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 58 key
|
H A D | phar_buildfromiterator7.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 57 key
|
/PHP-5.6/ext/phar/tests/ |
H A D | phar_buildfromiterator9.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 58 key
|
H A D | phar_buildfromiterator7.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 57 key
|
/PHP-5.6/ext/phar/tests/tar/ |
H A D | phar_buildfromiterator9.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 58 key
|
H A D | phar_buildfromiterator4.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 58 key
|
H A D | phar_buildfromiterator7.phpt | 25 function key() { 26 echo "key\n"; 27 return key($this->a); 57 key
|
/PHP-5.6/ext/spl/tests/ |
H A D | iterator_023.phpt | 64 function key() 67 return parent::key(); 135 RecursiveArrayIteratorIterator::key 145 RecursiveArrayIteratorIterator::key 155 RecursiveArrayIteratorIterator::key 161 RecursiveArrayIteratorIterator::key 173 RecursiveArrayIteratorIterator::key 187 RecursiveArrayIteratorIterator::key
|
/PHP-5.6/ext/opcache/ |
H A D | zend_persist.h | 26 uint zend_accel_script_persist_calc(zend_persistent_script *script, char *key, unsigned int key_len… 27 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsig…
|
/PHP-5.6/ext/spl/examples/ |
H A D | dba_dump.php | 38 foreach($db as $key => $val) { 39 echo "'$key' => '$val'\n";
|