/PHP-5.3/ext/standard/tests/array/ |
H A D | array_fill_keys_variation2.phpt | 5 /* 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 … 33 echo "\n-- Testing array_fill_keys() function with reference keys --\n"; 60 -- Testing array_fill_keys() function with reference keys --
|
H A D | array_merge_recursive_basic1.phpt | 2 Test array_merge_recursive() function : basic functionality - array with default keys 10 echo "*** Testing array_merge_recursive() : array with default keys ***\n"; 29 *** Testing array_merge_recursive() : array with default keys ***
|
H A D | array_unshift_variation4.phpt | 2 Test array_unshift() function : usage variations - assoc. array with diff. keys for 'array' argument 12 * associative arrays having different possible keys to $array argument. 16 echo "*** Testing array_unshift() : associative array with different keys ***\n"; 47 // arrays with integer keys 52 // arrays with float keys 58 // arrays with string keys 68 // array with mixed keys 102 *** Testing array_unshift() : associative array with different keys ***
|
H A D | array_diff_ukey_variation5.phpt | 6 …keys which are not present in any of the others arguments. User supplied function is used for comp…
|
H A D | array_rand_variation6.phpt | 6 * Description: Return key/keys for random entry/entries in the array 11 * Test behaviour of array_rand() when keys of the 'input' array is heredoc string 14 echo "*** Testing array_rand() : with keys of input array as heredoc strings ***\n"; 70 \*\*\* Testing array_rand\(\) : with keys of input array as heredoc strings \*\*\*
|
H A D | array_chunk_basic1.phpt | 15 // array with default keys - numeric values 18 // array with default keys - string values 27 // array containing elements with/witout keys
|
H A D | array_intersect_assoc_variation3.phpt | 51 /*1*/ array(1, 2), // with default keys and numeric values 52 array(1.1, 2.2), // with default keys & float values 53 array(false,true), // with default keys and boolean values 61 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 62 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 63 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 74 // array with repetative keys
|
H A D | array_intersect_assoc_variation4.phpt | 60 /*1*/ array(1, 2), // array with default keys and numeric values 61 array(1.1, 1.2, 1.3), // array with default keys & float values 62 array(false,true), // array with default keys and boolean values 70 /*9*/ array(1 => "one", 2 => "two", 6 => "six"), // explicit numeric keys, string values 71 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 72 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 83 // array with repetative keys
|
H A D | array_merge_recursive_variation4.phpt | 2 Test array_merge_recursive() function : usage variations - associative array with different keys 12 * associative arrays having different keys to $arr1 argument. 15 echo "*** Testing array_merge_recursive() : assoc. array with diff. keys to \$arr1 argument ***\n"; 39 /*1*/ // arrays with integer keys 43 // arrays with float keys 47 // arrays with string keys 81 *** Testing array_merge_recursive() : assoc. array with diff. keys to $arr1 argument ***
|
H A D | array_diff_assoc_variation4.phpt | 2 Test array_diff_assoc() function : usage variations - arrays with different data types as keys 8 * in any of the others arguments but do additional checks whether the keys are equal 14 * as keys 30 //Different data types as keys to be passed to $arr1 argument
|
H A D | array_diff_ukey_variation11.phpt | 6 …keys which are not present in any of the others arguments. User supplied function is used for comp…
|
H A D | shuffle_variation5.phpt | 55 // defining array with keys as heredoc strings 71 // test shuffle() with array containing heredoc strings as its keys 72 echo "\n-- with array having heredoc strings as keys --\n"; 101 -- with array having heredoc strings as keys --
|
H A D | array_combine_variation5.phpt | 5 /* Prototype : array array_combine(array $keys, array $values) 6 * Description: Creates an array by using the elements of the first parameter as keys 13 * associative arrays having different possible values to $keys argument and 17 echo "*** Testing array_combine() : assoc array with diff values to both \$keys and \$values argume… 83 *** Testing array_combine() : assoc array with diff values to both $keys and $values argument ***
|
H A D | array_intersect_variation4.phpt | 59 /*1*/ array(1, 2), // array with default keys and numeric values 60 array(1.1, 2.2), // array with default keys & float values 61 array(false,true), // array with default keys and boolean values 69 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 70 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 71 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 82 // array with repetative keys
|
H A D | array_intersect_variation3.phpt | 50 /*1*/ array(1, 2), // array with default keys and numeric values 51 array(1.1, 2.2), // array with default keys & float values 52 array(false,true), // array with default keys and boolean values 60 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 61 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 62 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 73 // array with repetative keys
|
H A D | array_unique_variation2.phpt | 49 /*1*/ array(1, 2, 2, 1), // with default keys and numeric values 50 array(1.1, 2.2, 1.1), // with default keys & float values 51 array(false, true, false), // with default keys and boolean values 59 /*9*/ array(1 => "one", 2 => "two", 2 => "two"), // explicit numeric keys, string values 60 array("one" => 1, "two" => 2, "1" => 1 ), // string keys & numeric values 61 array( 1 => 10, 2 => 20, 4 => 40, 5 => 10), // explicit numeric keys and numeric values
|
H A D | array_chunk_basic2.phpt | 15 // array with default keys - numeric values 18 // array with default keys - string values 27 // array containing elements with/without keys
|
H A D | array_combine_variation2.phpt | 5 /* Prototype : array array_combine(array $keys, array $values) 6 * Description: Creates an array by using the elements of the first parameter as keys 14 * The $keys argument passed is a fixed array. 19 // Initialize $keys array 20 $keys = array(1, 2); 94 var_dump( array_combine($keys,$values) );
|
H A D | array_unshift_variation3.phpt | 22 /*1*/ array(1, 2), // array with default keys and numeric values 23 array(1.1, 2.2), // array with default keys & float values 25 array(false,true), // array with default keys and boolean values 31 /*8*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 32 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 33 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 44 // array with repetative keys
|
H A D | array_multisort_basic2.phpt | 11 echo "*** Testing array_multisort() : basic functionality - renumbering of numeric keys ***\n"; 24 *** Testing array_multisort() : basic functionality - renumbering of numeric keys ***
|
H A D | shuffle_basic1.phpt | 2 Test shuffle() function : basic functionality - array with default keys 11 * Test behaviour of shuffle when an array with default keys 17 echo "*** Testing shuffle() : with arrays having default keys ***\n"; 54 *** Testing shuffle() : with arrays having default keys ***
|
H A D | array_flip_basic.phpt | 12 // array with default keys - numeric values 16 // array with default keys - string values
|
/PHP-5.3/ext/mcrypt/tests/ |
H A D | mcrypt_cbc_3des_decrypt.phpt | 24 // tripledes uses keys upto 192 bits (24 bytes) 25 $keys = array( 52 for ($i = 0; $i < sizeof($keys); $i++) { 53 echo "\nkey length=".strlen($keys[$i])."\n"; 54 special_var_dump(mcrypt_cbc($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv));
|
H A D | mcrypt_ecb_3des_encrypt.phpt | 24 // tripledes uses keys upto 192 bits (24 bytes) 25 $keys = array( 40 foreach ($keys as $key) {
|
H A D | mcrypt_encrypt_3des_ecb.phpt | 23 // tripledes uses keys upto 192 bits (24 bytes) 24 $keys = array( 32 foreach ($keys as $key) {
|