Home
last modified time | relevance | path

Searched refs:keys (Results 26 – 50 of 328) sorted by relevance

12345678910>>...14

/PHP-7.0/ext/mcrypt/tests/
H A Dmcrypt_ecb_3des_decrypt.phpt22 // tripledes uses keys up to 192 bits (24 bytes)
23 $keys = array(
49 for ($i = 0; $i < sizeof($keys); $i++) {
50 echo "\nkey length=".strlen($keys[$i])."\n";
51 …special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), MCRYPT_MODE_ECB, $i…
71 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
76 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
84 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
H A Dmcrypt_cbc_3des_decrypt.phpt20 // tripledes uses keys with exactly 192 bits (24 bytes)
21 $keys = array(
48 for ($i = 0; $i < sizeof($keys); $i++) {
49 echo "\nkey length=".strlen($keys[$i])."\n";
50 …special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), MCRYPT_MODE_CBC, $i…
70 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
75 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
83 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
H A Dmcrypt_decrypt_3des_cbc.phpt24 // tripledes uses keys with exactly 192 bits (24 bytes)
25 $keys = array(
51 for ($i = 0; $i < sizeof($keys); $i++) {
52 echo "\nkey length=".strlen($keys[$i])."\n";
53 special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv));
75 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
80 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
88 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
H A Dmcrypt_rijndael128_256BitKey.phpt38 // keys : 20 bytes, 24 bytes, 30 Bytes, 32 Bytes, 40 Bytes
39 $keys = array(
50 foreach ($keys as $key) {
66 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of sizes 16, 2…
69 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of sizes 16, 2…
78 Warning: mcrypt_encrypt(): Key of size 30 not supported by this algorithm. Only keys of sizes 16, 2…
81 Warning: mcrypt_decrypt(): Key of size 30 not supported by this algorithm. Only keys of sizes 16, 2…
90 Warning: mcrypt_encrypt(): Key of size 40 not supported by this algorithm. Only keys of sizes 16, 2…
93 Warning: mcrypt_decrypt(): Key of size 40 not supported by this algorithm. Only keys of sizes 16, 2…
H A Dmcrypt_ecb_3des_encrypt.phpt22 // tripledes uses keys up to 192 bits (24 bytes)
23 $keys = array(
38 foreach ($keys as $key) {
56 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
61 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
69 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
H A Dmcrypt_encrypt_3des_ecb.phpt23 // tripledes uses keys up to 192 bits (24 bytes)
24 $keys = array(
32 foreach ($keys as $key) {
60 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
65 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
73 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
H A Dmcrypt_cbc_3des_encrypt.phpt20 // tripledes uses keys with exactly 192 bits (24 bytes)
21 $keys = array(
35 foreach ($keys as $key) {
53 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
58 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
66 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
/PHP-7.0/ext/standard/tests/array/
H A Darray_combine_variation6.phpt5 /* Prototype : array array_combine(array $keys, array $values)
6 * Description: Creates an array by using the elements of the first parameter as keys
13 * binary values for $keys and $values argument.
22 // array with binary value for $keys and $values argument
28 // array with binary value for $keys argument
H A Darray_combine_variation3.phpt5 /* Prototype : array array_combine(array $keys, array $values)
6 * Description: Creates an array by using the elements of the first parameter as keys
12 * Passing different types of arrays to both $keys and $values arguments and testing whether
47 // arrays passed to $keys argument
49 /*1*/ array(1, 2), // with default keys and numeric values
50 array(1.1, 2.2), // with default keys & float values
51 array(false,true), // with default keys and boolean values
59 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
60 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
72 // array with repetative keys
[all …]
H A Darray_intersect_assoc_variation6.phpt2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr2' ar…
13 * associative arrays having different possible keys to $arr2 argument.
17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr2 argument ***\n";
34 // arrays with integer keys
39 // arrays with float keys
45 // arrays with string keys
55 // array with mixed keys
83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr2 argument ***
H A Darray_intersect_variation6.phpt2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr2' argument
12 * associative arrays having different possible keys to $arr2 argument.
16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr2 argument ***\n";
33 // arrays with integer keys
38 // arrays with float keys
44 // arrays with string keys
54 // array with mixed keys
80 *** Testing array_intersect() : assoc array with diff keys to $arr2 argument ***
H A Darray_fill_keys_error.phpt5 /* Prototype : proto array array_fill_keys(array keys, mixed val)
6 …* Description: Create an array using the elements of the first parameter as keys each initialized …
13 $keys = array(1, 2);
18 var_dump( array_fill_keys($keys, $val, $extra_arg) );
21 var_dump( array_fill_keys($keys) );
H A Darray_unique_variation3.phpt2 Test array_unique() function : usage variations - associative array with different keys
12 * associative arrays having different keys to $input argument.
15 echo "*** Testing array_unique() : assoc. array with diff. keys passed to \$input argument ***\n";
39 /*1*/ // arrays with integer keys
43 // arrays with float keys
47 // arrays with string keys
69 *** Testing array_unique() : assoc. array with diff. keys passed to $input argument ***
H A Darray_intersect_assoc_variation5.phpt2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr1' ar…
13 * associative arrays having different possible keys to $arr1 argument.
17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr1 argument ***\n";
34 // arrays with integer keys
39 // arrays with float keys
45 // arrays with string keys
55 // array with mixed keys
83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr1 argument ***
H A Darray_intersect_variation5.phpt2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr1' argument
12 * associative arrays having different possible keys to $arr1 argument.
16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr1 argument ***\n";
33 // arrays with integer keys
38 // arrays with float keys
44 // arrays with string keys
54 // array with mixed keys
80 *** Testing array_intersect() : assoc array with diff keys to $arr1 argument ***
H A Darray_combine_error2.phpt5 /* Prototype : array array_combine(array $keys, array $values)
6 * Description: Creates an array by using the elements of the first parameter as keys
13 // Testing array_combine by passing empty arrays to $keys and $values arguments
17 // Testing array_combine by passing empty array to $keys
18 echo "\n-- Testing array_combine() function with empty array for \$keys argument --\n";
38 -- Testing array_combine() function with empty array for $keys argument --
H A Darray_reverse_variation5.phpt92 - $preserve keys = true -
104 - $preserve keys = true -
120 - $preserve keys = true -
142 - $preserve keys = true -
170 - $preserve keys = true -
192 - $preserve keys = true -
227 - $preserve keys = true -
263 - $preserve keys = true -
293 - $preserve keys = true -
318 - $preserve keys = true -
[all …]
H A Darray_rand_variation4.phpt6 * Description: Return key/keys for random entry/entries in the array
20 // array with numeric keys
25 // array with string keys
29 // array with hexa values as keys
32 // array with octal values as keys
35 // array with bool values as keys
39 // array with special chars as keys
47 * different types of keys
H A Darray_map_variation3.phpt23 /*1*/ array(1, 2), // array with default keys and numeric values
24 array(1.1, 2.2), // array with default keys & float values
26 array(false,true), // array with default keys and boolean values
32 /*8*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
33 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
34 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
45 // array with repetative keys
H A Darray_map_variation4.phpt2 Test array_map() function : usage variations - associative array with different keys
11 * Test array_map() by passing associative array with different keys for $arr1 argument
14 echo "*** Testing array_map() : associative array with diff. keys for 'arr1' argument ***\n";
46 // arrays with integer keys
51 // arrays with float keys
55 // arrays with string keys
80 *** Testing array_map() : associative array with diff. keys for 'arr1' argument ***
/PHP-7.0/ext/spl/tests/
H A Dbug62672.phpt20 public function __construct(ArrayObject $keys)
22 $this->_varB = $keys;
23 parent::__construct($keys->getIterator());
/PHP-7.0/Zend/tests/arg_unpack/
H A Dstring_keys.phpt2 Argument unpacking does not work with string keys (forward compatibility for named args)
23 string(36) "Cannot unpack array with string keys"
24 string(42) "Cannot unpack Traversable with string keys"
/PHP-7.0/ext/standard/tests/strings/
H A Djoin_variation3.phpt18 array(1, 2), // array with default keys and numrice values
19 array(1.1, 2.2), // array with default keys & float values
21 array(false,true), // array with default keys and boolean values
27 array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
28 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
29 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
40 // array with repetative keys
H A Dparse_str_basic3.phpt25 echo "\nTest string containing numerical array keys\n";
30 echo "\nTest string containing associative keys\n";
72 echo "\nTest string with 2-dim array with numeric keys\n";
77 echo "\nTest string with 2-dim array with null keys\n";
87 echo "\nTest string with 3-dim array with numeric keys\n";
143 Test string containing numerical array keys
155 Test string containing associative keys
202 Test string with 2-dim array with numeric keys
217 Test string with 2-dim array with null keys
235 Test string with 2-dim array with non-numeric keys
[all …]
/PHP-7.0/Zend/tests/
H A Dbug39449.phpt6 private $keys = array();
8 return $this->keys[$val];
11 $this->keys[$k] = $v;

Completed in 42 milliseconds

12345678910>>...14