/PHP-7.0/Zend/tests/ |
H A D | bug45877.phpt | 7 $keys = array(PHP_INT_MAX, 13 var_dump(array_fill_keys($keys, 1));
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | array_flip_variation5.phpt | 2 Test array_flip() function : usage variations - 'input' argument with repeatitive keys and values 11 * Using different types of repeatitive keys as well as values for 'input' array 14 echo "*** Testing array_flip() : 'input' array with repeatitive keys/values ***\n"; 43 *** Testing array_flip() : 'input' array with repeatitive keys/values ***
|
H A D | array_map_variation1.phpt | 2 Test array_map() function : usage variations - string keys 13 echo "*** Testing array_map() : string keys ***\n"; 26 *** Testing array_map() : string keys ***
|
H A D | array_diff_basic.phpt | 34 //Test associative array with strings as keys and integers as elements 38 echo "-- Test associative array with strings as keys and integers as elements --\n"; 42 //Test associative array with strings as keys and elements 46 echo "-- Test associative array with strings as keys and integers as elements --\n"; 83 -- Test associative array with strings as keys and integers as elements -- 96 -- Test associative array with strings as keys and integers as elements --
|
H A D | array_merge_variation5.phpt | 2 Test array_merge() function : usage variations - numeric keys 11 * Pass array_merge() arrays with only numeric keys to test behaviour. 17 //numeric keys
|
H A D | array_merge_variation7.phpt | 2 Test array_merge() function : usage variations - Mixed keys 11 * Pass array_merge() arrays with mixed keys to test how it attaches them to 17 //mixed keys
|
H A D | array_combine_variation1.phpt | 2 Test array_combine() function : usage variations - unexpected values for 'keys' argument 5 /* Prototype : array array_combine(array $keys, array $values) 6 * Description: Creates an array by using the elements of the first parameter as keys 12 * Testing array_combine() function by passing values to $keys argument other than arrays 17 echo "*** Testing array_combine() : Passing non-array values to \$keys argument ***\n"; 42 // unexpected values to be passed to $keys argument 92 foreach($keys_passed as $keys) { 94 var_dump( array_combine($keys,$values) ); 101 *** Testing array_combine() : Passing non-array values to $keys argument ***
|
H A D | array_merge_variation6.phpt | 2 Test array_merge() function : usage variations - string keys 11 * Pass array_merge arrays with string keys to test behaviour. 17 //string keys
|
H A D | array_values_variation7.phpt | 11 * Check that array_values is re-assigning keys according to the internal order of the array, 12 * and is not dependent on the \$input argument's keys 17 // populate array with 'default' keys in reverse order
|
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_filter_variation10.phpt | 2 Test array_filter() function : usage variations - using the array keys inside 'callback' 11 * Using array keys as an argument to the 'callback' 14 echo "*** Testing array_filter() : usage variations - using array keys in 'callback' ***\n"; 52 *** Testing array_filter() : usage variations - using array keys in 'callback' ***
|
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_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_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_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 --
|
/PHP-7.0/ext/mcrypt/tests/ |
H A D | mcrypt_encrypt_3des_cbc.phpt | 30 // tripledes uses keys up to 192 bits (24 bytes) 31 $keys = array( 47 foreach ($keys as $key) { 68 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp… 73 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup… 81 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
|
H A D | mcrypt_rijndael128_128BitKey.phpt | 33 // keys up to 128 bits (16 bytes) 34 $keys = array( 52 foreach ($keys as $key) { 75 Warning: mcrypt_encrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24… 80 Warning: mcrypt_encrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24… 85 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of sizes 16, 24…
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | str_replace_array_refs2.phpt | 5 $closure = function (array $array, array $keys, $value) 8 foreach ($keys as $key)
|