/PHP-7.2/ext/standard/tests/array/ |
H A D | array_intersect_assoc_variation5.phpt | 13 * associative arrays having different possible keys to $arr1 argument. 28 // different variations of associative arrays to be passed to $arr1 argument 29 $arrays = array ( 34 // arrays with integer keys 39 // arrays with float keys 45 // arrays with string keys 68 foreach($arrays as $arr1) {
|
H A D | array_intersect_variation5.phpt | 12 * associative arrays having different possible keys to $arr1 argument. 27 // different variations of associative arrays to be passed to $arr1 argument 28 $arrays = array ( 33 // arrays with integer keys 38 // arrays with float keys 44 // arrays with string keys 65 foreach($arrays as $arr1) {
|
H A D | array_map_variation4.phpt | 6 * Description: Applies the callback to the elements of the given arrays 41 $arrays = array ( 46 // arrays with integer keys 51 // arrays with float keys 55 // arrays with string keys 69 // loop through the various elements of $arrays to test array_map() 71 foreach($arrays as $arr1) {
|
H A D | array_combine_variation3.phpt | 2 Test array_combine() function : usage variations - different arrays(Bug#43424) 12 * Passing different types of arrays to both $keys and $values arguments and testing whether 16 echo "*** Testing array_combine() : Passing different types of arrays to both \$keys and \$values a… 17 /* Different heredoc strings passed as argument to arrays */ 47 // arrays passed to $keys argument 48 $arrays = array ( 58 // associative arrays 76 // loop through each sub-array within $arrays to check the behavior of array_combine() 77 // same arrays are passed to both $keys and $values 79 foreach($arrays as $array) { [all …]
|
H A D | array_map_error.phpt | 6 * Description: Applies the callback to the elements of the given arrays 27 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --… 38 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --… 58 -- Testing array_map() function with less no. of arrays than callback function arguments -- 61 -- Testing array_map() function with more no. of arrays than callback function arguments --
|
H A D | array_values.phpt | 16 echo "\n*** Testing array_values() on various arrays ***"; 17 $arrays = array ( 38 /* loop through to test array_values() with different arrays given above */ 39 foreach ($arrays as $array) { 69 *** Testing array_values() on various arrays ***
|
H A D | shuffle_variation3.phpt | 2 Test shuffle() function : usage variation - arrays with diff types of values 11 * Test behaviour of shuffle() function when arrays having different 15 echo "*** Testing shuffle() : arrays with diff types of values ***\n"; 17 // initialise different arrays 52 echo "\n*** Testing shuffle() with arrays having different types of values ***\n"; 65 *** Testing shuffle() : arrays with diff types of values *** 67 *** Testing shuffle() with arrays having different types of values ***
|
H A D | array_merge_variation7.phpt | 6 * Description: Merges elements from passed arrays into one array 11 * Pass array_merge() arrays with mixed keys to test how it attaches them to 12 * existing arrays
|
H A D | array_merge_recursive_variation4.phpt | 6 * Description: Recursively merges elements from passed arrays into one array 12 * associative arrays having different keys to $arr1 argument. 37 // different associative arrays to be passed to $arr1 argument 38 $arrays = array ( 39 /*1*/ // arrays with integer keys 43 // arrays with float keys 47 // arrays with string keys 59 // loop through each sub array of $arrays and check the behavior of array_merge_recursive() 61 foreach($arrays as $arr1) {
|
H A D | array_merge_recursive_variation5.phpt | 6 * Description: Recursively merges elements from passed arrays into one array 12 * associative arrays having different values to $arr1 argument. 37 // different associative arrays to be passed to $arr1 argument 38 $arrays = array ( 39 // arrays with integer values 43 // arrays with float values 47 // arrays with string values 59 // loop through each sub array of $arrays and check the behavior of array_merge_recursive() 61 foreach($arrays as $arr1) {
|
H A D | array_intersect_assoc_variation7.phpt | 13 * associative arrays having different possible values to $arr1 argument. 39 // different variations of associative arrays to be passed to $arr1 argument 40 $arrays = array ( 45 // arrays with integer values 50 // arrays with float values 54 // arrays with string values 76 foreach($arrays as $arr1) {
|
H A D | array_intersect_assoc_variation8.phpt | 13 * associative arrays having different possible values to $arr2 argument. 39 // different variations of associative arrays to be passed to $arr2 argument 40 $arrays = array ( 45 // arrays with integer values 50 // arrays with float values 54 // arrays with string values 76 foreach($arrays as $arr2) {
|
H A D | array_intersect_variation7.phpt | 12 * associative arrays having different possible values to $arr1 argument. 38 // different variations of associative arrays to be passed to $arr1 argument 39 $arrays = array ( 44 // arrays with integer values 49 // arrays with float values 53 // arrays with string values 73 foreach($arrays as $arr1) {
|
H A D | array_intersect_variation8.phpt | 12 * associative arrays having different possible values to $arr2 argument. 38 // different variations of associative arrays to be passed to $arr2 argument 39 $arrays = array ( 44 // arrays with integer values 49 // arrays with float values 53 // arrays with string values 73 foreach($arrays as $arr2) {
|
H A D | shuffle_variation4.phpt | 2 Test shuffle() function : usage variation - associative arrays with diff types of values 11 * Test behaviour of shuffle() function when associative arrays 15 echo "*** Testing shuffle() : associative arrays with diff types of values ***\n"; 17 // initialise different arrays 55 echo "\n*** Testing shuffle() with arrays having different types of values ***\n"; 68 *** Testing shuffle() : associative arrays with diff types of values *** 70 *** Testing shuffle() with arrays having different types of values ***
|
H A D | array_reverse_variation6.phpt | 2 Test array_reverse() function : usage variations - two dimensional arrays for 'array' argument 11 * testing the functionality of array_reverse() by giving 2-D arrays for $array argument 16 // Initializing the 2-d arrays 25 // combination of numeric and associative arrays 29 // calling array_reverse() with various types of 2-d arrays
|
H A D | array_unique_variation4.phpt | 12 * associative arrays having different values to $input argument. 37 // associative arrays with different values 39 // arrays with integer values 43 // arrays with float values 47 // arrays with string values
|
H A D | array_diff_variation8.phpt | 2 Test array_diff() function : usage variations - associative arrays contianing different data types 12 * Test array_diff() with associative arrays containing different data types as values 39 // associative arrays with different values 41 // arrays with integer values 45 // arrays with float values 49 // arrays with string values
|
H A D | uasort_variation11.phpt | 2 Test uasort() function : usage variations - different associative arrays 10 /* Testing uasort() with different associative arrays having keys as 14 echo "*** Testing uasort() : sorting different associative arrays ***\n"; 51 *** Testing uasort() : sorting different associative arrays ***
|
H A D | array_merge_variation8.phpt | 2 Test array_merge() function : usage variations - multi-dimensional arrays 6 * Description: Merges elements from passed arrays into one array 11 * Test array_merge() with multi-dimensional arrays
|
H A D | array_unique_variation3.phpt | 12 * associative arrays having different keys to $input argument. 37 // different associative arrays to be passed to $input argument 39 /*1*/ // arrays with integer keys 43 // arrays with float keys 47 // arrays with string keys
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | is_array.phpt | 9 echo "*** Testing is_array() on different type of arrays ***\n"; 10 /* different types of arrays */ 11 $arrays = array( 29 type of arrays, expected output bool(true) */ 31 foreach ($arrays as $var_array ) { 89 /* unset/undefined arrays */ 114 *** Testing is_array() on different type of arrays ***
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | stripslashes_variation4.phpt | 2 Test stripslashes() function : usage variations - double dimensional arrays 11 * Test stripslashes() with double dimensional arrays 14 echo "*** Testing stripslashes() : with double dimensional arrays ***\n"; 42 *** Testing stripslashes() : with double dimensional arrays ***
|
/PHP-7.2/ext/oci8/tests/ |
H A D | array_bind_013.phpt | 29 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line… 32 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line… 35 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
|
/PHP-7.2/tests/lang/ |
H A D | passByReference_006.phpt | 2 Pass uninitialised objects and arrays by reference to test implicit initialisation. 40 echo "\n ---- Pass uninitialised arrays & objects by ref: static method call ---\n"; 45 echo "\n\n---- Pass uninitialised arrays & objects by ref: constructor ---\n"; 50 echo "\n ---- Pass uninitialised arrays & objects by ref: instance method call ---\n"; 91 ---- Pass uninitialised arrays & objects by ref: static method call --- 128 ---- Pass uninitialised arrays & objects by ref: constructor --- 162 ---- Pass uninitialised arrays & objects by ref: instance method call ---
|