/PHP-7.2/ext/standard/tests/array/ |
H A D | array_rand_variation2.phpt | 13 * Test array_rand() with different types of values other than int passed to 'num_req' argument 81 // loop through each element of the array for different values for 'num_req' argument 96 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 104 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 109 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 138 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 143 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 148 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 153 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 158 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … [all …]
|
H A D | array_merge_recursive_variation3.phpt | 85 // with default argument 101 -- With default argument -- 131 -- With default argument -- 161 -- With default argument -- 191 -- With default argument -- 213 -- With default argument -- 239 -- With default argument -- 279 -- With default argument -- 317 -- With default argument -- 367 -- With default argument -- [all …]
|
H A D | array_reverse_variation5.phpt | 89 - default argument - 99 - default argument - 115 - default argument - 131 - default argument - 165 - default argument - 181 - default argument - 215 - default argument - 252 - default argument - 286 - default argument - 308 - default argument - [all …]
|
H A D | array_merge_recursive_variation4.phpt | 12 * associative arrays having different keys to $arr1 argument. 64 // with default argument 65 echo "-- With default argument --\n"; 87 -- With default argument -- 123 -- With default argument -- 171 -- With default argument -- 207 -- With default argument -- 251 -- With default argument -- 295 -- With default argument -- 341 -- With default argument -- [all …]
|
H A D | array_merge_recursive_variation5.phpt | 12 * associative arrays having different values to $arr1 argument. 64 // with default argument 65 echo "-- With default argument --\n"; 83 -- With default argument -- 113 -- With default argument -- 151 -- With default argument -- 195 -- With default argument -- 243 -- With default argument -- 281 -- With default argument -- 319 -- With default argument -- [all …]
|
H A D | array_merge_recursive_variation10.phpt | 12 * two dimensional arrays for $arr1 argument. 15 echo "*** Testing array_merge_recursive() : two dimensional array for \$arr1 argument ***\n"; 25 // initialize the second argument 29 echo "-- With default argument --\n"; 35 echo "-- With default argument --\n"; 43 *** Testing array_merge_recursive() : two dimensional array for $arr1 argument *** 45 -- With default argument -- 148 -- With default argument --
|
H A D | array_intersect_assoc_variation6.phpt | 2 …rray_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr2' argument 13 * associative arrays having different possible keys to $arr2 argument. 14 * The $arr1 argument passed is a fixed array. 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr2 argument ***\n"; 28 // different variations of associative arrays to be passed to $arr2 argument 61 // array to be passsed to $arr1 argument 75 // additional argument passed is the same as $arr1 argument 83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_intersect_variation6.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr2' argument 12 * associative arrays having different possible keys to $arr2 argument. 13 * The $arr1 argument is a fixed array. 16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr2 argument ***\n"; 27 // different variations of associative arrays to be passed to $arr2 argument 60 // array to be passsed to $arr1 argument 72 // additional argument passed is the same as $arr1 argument 80 *** Testing array_intersect() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_fill_variation3.phpt | 2 Test array_fill() function : usage variations - unexpected values for 'val' argument 11 * testing array_fill() by passing different unexpected values for 'val' argument 35 //array of different values for 'val' argument 50 // loop through each element of the array for 'val' argument 52 echo "--- Testing array_fill() with different values for 'val' argument ---\n"; 68 --- Testing array_fill() with different values for 'val' argument ---
|
H A D | array_unshift_variation6.phpt | 2 Test array_unshift() function : usage variations - two dimensional arrays for 'array' argument 12 * arrays and also sub-arrays within the two-dimensional array for $array argument. 13 * The $var argument passed is a fixed value 16 echo "*** Testing array_unshift() : two dimensional arrays for \$array argument ***\n"; 18 // initializing $var argument 21 // two-dimensional array to be passed to $array argument 36 /* With default argument */ 54 /* Passing the sub-array within the $two_dimensional_array to $array argument */ 56 /* With default argument */ 77 *** Testing array_unshift() : two dimensional arrays for $array argument ***
|
H A D | array_merge_recursive_variation7.phpt | 15 echo "*** Testing array_merge_recursive() : array with reference variables for \$arr1 argument ***\… 32 // initialize the second argument 35 echo "-- With default argument --\n"; 44 *** Testing array_merge_recursive() : array with reference variables for $arr1 argument *** 45 -- With default argument --
|
H A D | array_rand_basic2.phpt | 2 Test array_rand() function : basic functionality - with associative array for 'input' argument 11 * Test array_rand() when associative array is passed to 'input' argument 26 // Calling array_rand() with optional argument 31 echo"\n-- with default argument --\n"; 55 -- with default argument --
|
H A D | array_intersect_assoc_variation5.phpt | 2 …rray_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr1' argument 13 * associative arrays having different possible keys to $arr1 argument. 14 * The $arr2 argument passed is a fixed array 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr1 argument ***\n"; 28 // different variations of associative arrays to be passed to $arr1 argument 61 // array to be passsed to $arr2 argument 75 // additional argument passed is the same as $arr1 argument 83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr1 argument ***
|
H A D | array_intersect_variation5.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr1' argument 12 * associative arrays having different possible keys to $arr1 argument. 13 * The $arr2 argument is a fixed array 16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr1 argument ***\n"; 27 // different variations of associative arrays to be passed to $arr1 argument 60 // array to be passsed to $arr2 argument 72 // additional argument passed is the same as $arr1 argument 80 *** Testing array_intersect() : assoc array with diff keys to $arr1 argument ***
|
H A D | array_filter_variation7.phpt | 26 // anonymous callback function with null argument 27 echo "Anonymous callback funciton with null argument\n"; 30 // anonymous callback function with argument and null statement 31 echo "Anonymous callback function with regular argument and null statement\n"; 58 Anonymous callback funciton with null argument 77 Anonymous callback function with regular argument and null statement
|
H A D | array_merge_recursive_variation8.phpt | 14 echo "*** Testing array_merge_recursive() : array with binary data for \$arr1 argument ***\n"; 19 // initialize the second argument 22 echo "-- With default argument --\n"; 31 *** Testing array_merge_recursive() : array with binary data for $arr1 argument *** 32 -- With default argument --
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | getrusage_error.phpt | 23 echo "\n-- Testing getrusage() function with invalid argument - non-numeric STRING--\n"; 27 echo "\n-- Testing getrusage() function with invalid argument - ARRAY--\n"; 31 echo "\n-- Testing getrusage() function with invalid argument - OBJECT --\n"; 41 echo "\n-- Testing getrusage() function with invalid argument - RESOURCE --\n"; 55 -- Testing getrusage() function with invalid argument - non-numeric STRING-- 59 -- Testing getrusage() function with invalid argument - ARRAY-- 63 -- Testing getrusage() function with invalid argument - OBJECT -- 67 -- Testing getrusage() function with invalid argument - RESOURCE --
|
H A D | escapeshellarg_error.phpt | 7 * Description: Escape a string to be used as a shell argument. 26 echo "\n-- Testing escapeshellarg() function with a object supplied for argument --\n"; 35 echo "\n-- Testing escapeshellarg() function with a resource supplied for argument --\n"; 40 echo "\n-- Testing escapeshellarg() function with a array supplied for argument --\n"; 59 -- Testing escapeshellarg() function with a object supplied for argument -- 64 -- Testing escapeshellarg() function with a resource supplied for argument -- 69 -- Testing escapeshellarg() function with a array supplied for argument --
|
H A D | getservbyname_variation12.phpt | 2 Test function getservbyname() by substituting argument 2 with int values. 7 echo "*** Test substituting argument 2 with int values ***\n"; 25 *** Test substituting argument 2 with int values ***
|
H A D | getservbyname_variation5.phpt | 2 Test function getservbyname() by substituting argument 1 with int values. 7 echo "*** Test substituting argument 1 with int values ***\n"; 25 *** Test substituting argument 1 with int values ***
|
H A D | getservbyname_variation11.phpt | 2 Test function getservbyname() by substituting argument 2 with float values. 7 echo "*** Test substituting argument 2 with float values ***\n"; 25 *** Test substituting argument 2 with float values ***
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | strtr_variation9.phpt | 91 Warning: strtr(): The second argument is not an array in %s on line %d 97 Warning: strtr(): The second argument is not an array in %s on line %d 103 Warning: strtr(): The second argument is not an array in %s on line %d 109 Warning: strtr(): The second argument is not an array in %s on line %d 115 Warning: strtr(): The second argument is not an array in %s on line %d 121 Warning: strtr(): The second argument is not an array in %s on line %d 167 Warning: strtr(): The second argument is not an array in %s on line %d 173 Warning: strtr(): The second argument is not an array in %s on line %d 179 Warning: strtr(): The second argument is not an array in %s on line %d 185 Warning: strtr(): The second argument is not an array in %s on line %d [all …]
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | readfile_variation3.phpt | 8 /* test readfile() by providing an include path, second argument */ 16 echo "*** Testing readfile(): checking second argument, include path ***\n"; 32 // use the context argument with include path 33 echo "*** Testing readfile(): checking second argument, include path with context specified ***\n"; 47 *** Testing readfile(): checking second argument, include path *** 55 *** Testing readfile(): checking second argument, include path with context specified ***
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | mb_ereg_basic.phpt | 35 echo "-- Without \$regs argument--\n"; 38 echo "--With \$regs argument --\n"; 45 echo "-- Without \$regs argument --\n"; 48 echo "-- With \$regs argument --\n"; 83 -- Without $regs argument-- 86 --With $regs argument -- 101 -- Without $regs argument -- 104 -- With $regs argument --
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionMethod_constructor_error1.phpt | 17 echo "\nWrong type of argument (bool):\n"; 23 echo "\nWrong type of argument (int):\n"; 29 echo "\nWrong type of argument (bool, string):\n"; 35 echo "\nWrong type of argument (string, bool):\n"; 67 Wrong type of argument (bool): 72 Wrong type of argument (int): 77 Wrong type of argument (bool, string): 82 Wrong type of argument (string, bool):
|