Home
last modified time | relevance | path

Searched refs:key (Results 226 – 250 of 1173) sorted by relevance

12345678910>>...47

/PHP-5.6/ext/mcrypt/tests/
H A Dmcrypt_cfb.phpt7 $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 Dmcrypt_decrypt.phpt7 $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 Darray_diff_variation6.phpt15 * 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 Darray_change_key_case_variation.phpt13 /* 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 Darray_diff_assoc_variation8.phpt16 * 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 D009.phpt2 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 Dnext_basic.phpt17 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 Dtsrm_win32.h28 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 Dbug68912.phpt7 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 Dopenssl_sign_basic.phpt8 $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 DJSON_parser.c406 …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 Dsysvmsg.c44 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 Dexample.php16 foreach($exif as $key=>$section) {
18 echo "$key.$name: $val<br>\n";
/PHP-5.6/sapi/apache2filter/
H A Dphp_apache.h60 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \ argument
66 key = elts[i].key; \
/PHP-5.6/ext/phar/tests/zip/
H A Dphar_buildfromiterator9.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
58 key
H A Dphar_buildfromiterator4.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
58 key
H A Dphar_buildfromiterator7.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
57 key
/PHP-5.6/ext/phar/tests/
H A Dphar_buildfromiterator9.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
58 key
H A Dphar_buildfromiterator7.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
57 key
/PHP-5.6/ext/phar/tests/tar/
H A Dphar_buildfromiterator9.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
58 key
H A Dphar_buildfromiterator4.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
58 key
H A Dphar_buildfromiterator7.phpt25 function key() {
26 echo "key\n";
27 return key($this->a);
57 key
/PHP-5.6/ext/spl/tests/
H A Diterator_023.phpt64 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 Dzend_persist.h26 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 Ddba_dump.php38 foreach($db as $key => $val) {
39 echo "'$key' => '$val'\n";

Completed in 37 milliseconds

12345678910>>...47