/dports/lang/php73/php-7.3.33/ext/standard/tests/array/ |
H A D | usort_variation1.phpt | 2 Test usort() function : usage variations - Pass different data types as $array_arg arg 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass different data types as $array_arg argument to usort() to test behaviour 14 echo "*** Testing usort() : usage variations ***\n"; 99 // loop through each element of $inputs to check the behavior of usort() 103 var_dump( usort($input, 'cmp_function') ); 112 *** Testing usort() : usage variations *** 116 Warning: usort() expects parameter 1 to be array, int given in %s on line %d 121 Warning: usort() expects parameter 1 to be array, int given in %s on line %d 126 Warning: usort() expects parameter 1 to be array, int given in %s on line %d [all …]
|
H A D | usort_variation8.phpt | 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Test usort() when comparison function is: 16 echo "*** Testing usort() : usage variation ***\n"; 25 var_dump( usort($temp_array1, 'strcasecmp') ); 30 var_dump( usort($temp_array2, 'strcmp') ); 36 var_dump( usort($temp_array3, 'echo') ); 40 var_dump( usort($temp_array4, 'exit') ); 44 *** Testing usort() : usage variation *** 46 -- Testing usort() with built-in 'cmp_function': strcasecmp() -- 61 -- Testing usort() with built-in 'cmp_function': strcmp() -- [all …]
|
H A D | usort_error1.phpt | 2 Test usort() function : error conditions - Pass incorrect number of arguments 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass incorrect number of arguments to usort() to test behaviour 14 echo "*** Testing usort() : error conditions ***\n"; 16 //Test usort with one more than the expected number of arguments 21 var_dump( usort($array_arg, $cmp_function, $extra_arg) ); 23 // Testing usort with one less than the expected number of arguments 26 var_dump( usort($array_arg) ); 30 *** Testing usort() : error conditions *** 32 -- Testing usort() function with more than expected no. of arguments -- [all …]
|
H A D | usort_variation2.phpt | 2 Test usort() function : usage variations - Pass different data types as $cmp_function arg 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass different data types as $cmp_function argument to usort() to test behaviour 14 echo "*** Testing usort() : usage variation ***\n"; 88 // loop through each element of $inputs to check the behavior of usort() 92 var_dump( usort($array_arg, $input) ); 101 *** Testing usort() : usage variation *** 105 Warning: usort() expects parameter 2 to be a valid callback, no array or string given in %s on line… 110 Warning: usort() expects parameter 2 to be a valid callback, no array or string given in %s on line… 115 Warning: usort() expects parameter 2 to be a valid callback, no array or string given in %s on line… [all …]
|
H A D | usort_variation6.phpt | 15 echo "*** Testing usort() : usage variation ***\n"; 45 var_dump( usort($temp_array, 'cmp_function') ); 47 echo "-- Array after call to usort() --\n"; 50 echo "\n-- Pass usort() a sub-array --\n"; 51 var_dump( usort($array_args[5], 'cmp_function') ); 53 echo "-- Array after call to usort() --\n"; 58 *** Testing usort() : usage variation *** 60 -- Pass usort() a two-dimensional array -- 62 -- Array after call to usort() -- 124 -- Pass usort() a sub-array -- [all …]
|
H A D | usort_error2.phpt | 2 Test usort() function : error conditions - Pass unknown 'cmp_function' 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass an unknown comparison function to usort() to test behaviour. 16 echo "*** Testing usort() : error conditions ***\n"; 36 echo "\n-- Testing usort() function with non-existent compare function --\n"; 37 var_dump( usort($array_arg, 'non_existent') ); 41 var_dump( usort($array_arg, 'non_existent', $extra_arg) ); 45 *** Testing usort() : error conditions *** 47 -- Testing usort() function with non-existent compare function -- 52 -- Testing usort() function with non-existent compare function and extra argument -- [all …]
|
H A D | usort_object2.phpt | 15 * to test behaviour of usort() 18 echo "*** Testing usort() : object functionality ***\n"; 66 echo "-- Testing usort() with StaticClass objects --\n"; 73 var_dump( usort($array_arg, 'cmp_function') ); 77 echo "-- Testing usort() with EmptyClass objects --\n"; 84 var_dump( usort($array_arg, 'cmp_function') ); 95 var_dump( usort($array_arg, 'cmp_function') ); 100 *** Testing usort() : object functionality *** 101 -- Testing usort() with StaticClass objects -- 117 -- Testing usort() with EmptyClass objects -- [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/array/ |
H A D | usort_variation1.phpt | 2 Test usort() function : usage variations - Pass different data types as $array_arg arg 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass different data types as $array_arg argument to usort() to test behaviour 14 echo "*** Testing usort() : usage variations ***\n"; 99 // loop through each element of $inputs to check the behavior of usort() 103 var_dump( usort($input, 'cmp_function') ); 112 *** Testing usort() : usage variations *** 116 Warning: usort() expects parameter 1 to be array, int given in %s on line %d 121 Warning: usort() expects parameter 1 to be array, int given in %s on line %d 126 Warning: usort() expects parameter 1 to be array, int given in %s on line %d [all …]
|
H A D | usort_variation8.phpt | 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Test usort() when comparison function is: 16 echo "*** Testing usort() : usage variation ***\n"; 25 var_dump( usort($temp_array1, 'strcasecmp') ); 30 var_dump( usort($temp_array2, 'strcmp') ); 36 var_dump( usort($temp_array3, 'echo') ); 40 var_dump( usort($temp_array4, 'exit') ); 44 *** Testing usort() : usage variation *** 46 -- Testing usort() with built-in 'cmp_function': strcasecmp() -- 61 -- Testing usort() with built-in 'cmp_function': strcmp() -- [all …]
|
H A D | usort_error1.phpt | 2 Test usort() function : error conditions - Pass incorrect number of arguments 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass incorrect number of arguments to usort() to test behaviour 14 echo "*** Testing usort() : error conditions ***\n"; 16 //Test usort with one more than the expected number of arguments 21 var_dump( usort($array_arg, $cmp_function, $extra_arg) ); 23 // Testing usort with one less than the expected number of arguments 26 var_dump( usort($array_arg) ); 30 *** Testing usort() : error conditions *** 32 -- Testing usort() function with more than expected no. of arguments -- [all …]
|
H A D | usort_variation2.phpt | 2 Test usort() function : usage variations - Pass different data types as $cmp_function arg 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass different data types as $cmp_function argument to usort() to test behaviour 14 echo "*** Testing usort() : usage variation ***\n"; 88 // loop through each element of $inputs to check the behavior of usort() 92 var_dump( usort($array_arg, $input) ); 101 *** Testing usort() : usage variation *** 105 Warning: usort() expects parameter 2 to be a valid callback, no array or string given in %s on line… 110 Warning: usort() expects parameter 2 to be a valid callback, no array or string given in %s on line… 115 Warning: usort() expects parameter 2 to be a valid callback, no array or string given in %s on line… [all …]
|
H A D | usort_variation6.phpt | 15 echo "*** Testing usort() : usage variation ***\n"; 45 var_dump( usort($temp_array, 'cmp_function') ); 47 echo "-- Array after call to usort() --\n"; 50 echo "\n-- Pass usort() a sub-array --\n"; 51 var_dump( usort($array_args[5], 'cmp_function') ); 53 echo "-- Array after call to usort() --\n"; 58 *** Testing usort() : usage variation *** 60 -- Pass usort() a two-dimensional array -- 62 -- Array after call to usort() -- 124 -- Pass usort() a sub-array -- [all …]
|
H A D | usort_error2.phpt | 2 Test usort() function : error conditions - Pass unknown 'cmp_function' 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Pass an unknown comparison function to usort() to test behaviour. 16 echo "*** Testing usort() : error conditions ***\n"; 36 echo "\n-- Testing usort() function with non-existent compare function --\n"; 37 var_dump( usort($array_arg, 'non_existent') ); 41 var_dump( usort($array_arg, 'non_existent', $extra_arg) ); 45 *** Testing usort() : error conditions *** 47 -- Testing usort() function with non-existent compare function -- 52 -- Testing usort() function with non-existent compare function and extra argument -- [all …]
|
H A D | usort_object2.phpt | 15 * to test behaviour of usort() 18 echo "*** Testing usort() : object functionality ***\n"; 66 echo "-- Testing usort() with StaticClass objects --\n"; 73 var_dump( usort($array_arg, 'cmp_function') ); 77 echo "-- Testing usort() with EmptyClass objects --\n"; 84 var_dump( usort($array_arg, 'cmp_function') ); 95 var_dump( usort($array_arg, 'cmp_function') ); 100 *** Testing usort() : object functionality *** 101 -- Testing usort() with StaticClass objects -- 117 -- Testing usort() with EmptyClass objects -- [all …]
|
/dports/lang/php74/php-7.4.27/ext/standard/tests/array/ |
H A D | usort_variation8.phpt | 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Test usort() when comparison function is: 16 echo "*** Testing usort() : usage variation ***\n"; 25 var_dump( usort($temp_array1, 'strcasecmp') ); 30 var_dump( usort($temp_array2, 'strcmp') ); 36 var_dump( usort($temp_array3, 'echo') ); 40 var_dump( usort($temp_array4, 'exit') ); 44 *** Testing usort() : usage variation *** 46 -- Testing usort() with built-in 'cmp_function': strcasecmp() -- 61 -- Testing usort() with built-in 'cmp_function': strcmp() -- [all …]
|
H A D | usort_variation6.phpt | 15 echo "*** Testing usort() : usage variation ***\n"; 45 var_dump( usort($temp_array, 'cmp_function') ); 47 echo "-- Array after call to usort() --\n"; 50 echo "\n-- Pass usort() a sub-array --\n"; 51 var_dump( usort($array_args[5], 'cmp_function') ); 53 echo "-- Array after call to usort() --\n"; 58 *** Testing usort() : usage variation *** 60 -- Pass usort() a two-dimensional array -- 62 -- Array after call to usort() -- 124 -- Pass usort() a sub-array -- [all …]
|
H A D | usort_object2.phpt | 15 * to test behaviour of usort() 18 echo "*** Testing usort() : object functionality ***\n"; 66 echo "-- Testing usort() with StaticClass objects --\n"; 73 var_dump( usort($array_arg, 'cmp_function') ); 77 echo "-- Testing usort() with EmptyClass objects --\n"; 84 var_dump( usort($array_arg, 'cmp_function') ); 95 var_dump( usort($array_arg, 'cmp_function') ); 100 *** Testing usort() : object functionality *** 101 -- Testing usort() with StaticClass objects -- 117 -- Testing usort() with EmptyClass objects -- [all …]
|
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/array/ |
H A D | usort_variation8.phpt | 5 /* Prototype : bool usort(array $array_arg, string $cmp_function) 11 * Test usort() when comparison function is: 16 echo "*** Testing usort() : usage variation ***\n"; 25 var_dump( usort($temp_array1, 'strcasecmp') ); 30 var_dump( usort($temp_array2, 'strcmp') ); 36 var_dump( usort($temp_array3, 'echo') ); 40 var_dump( usort($temp_array4, 'exit') ); 44 *** Testing usort() : usage variation *** 46 -- Testing usort() with built-in 'cmp_function': strcasecmp() -- 61 -- Testing usort() with built-in 'cmp_function': strcmp() -- [all …]
|
H A D | usort_variation6.phpt | 15 echo "*** Testing usort() : usage variation ***\n"; 45 var_dump( usort($temp_array, 'cmp_function') ); 47 echo "-- Array after call to usort() --\n"; 50 echo "\n-- Pass usort() a sub-array --\n"; 51 var_dump( usort($array_args[5], 'cmp_function') ); 53 echo "-- Array after call to usort() --\n"; 58 *** Testing usort() : usage variation *** 60 -- Pass usort() a two-dimensional array -- 62 -- Array after call to usort() -- 124 -- Pass usort() a sub-array -- [all …]
|
H A D | usort_object2.phpt | 15 * to test behaviour of usort() 18 echo "*** Testing usort() : object functionality ***\n"; 66 echo "-- Testing usort() with StaticClass objects --\n"; 73 var_dump( usort($array_arg, 'cmp_function') ); 77 echo "-- Testing usort() with EmptyClass objects --\n"; 84 var_dump( usort($array_arg, 'cmp_function') ); 95 var_dump( usort($array_arg, 'cmp_function') ); 100 *** Testing usort() : object functionality *** 101 -- Testing usort() with StaticClass objects -- 117 -- Testing usort() with EmptyClass objects -- [all …]
|
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/array/ |
H A D | usort_variation6.phpt | 10 echo "*** Testing usort() : usage variation ***\n"; 40 var_dump( usort($temp_array, 'cmp_function') ); 42 echo "-- Array after call to usort() --\n"; 45 echo "\n-- Pass usort() a sub-array --\n"; 46 var_dump( usort($array_args[5], 'cmp_function') ); 48 echo "-- Array after call to usort() --\n"; 52 *** Testing usort() : usage variation *** 54 -- Pass usort() a two-dimensional array -- 56 -- Array after call to usort() -- 118 -- Pass usort() a sub-array -- [all …]
|
/dports/lang/php80/php-8.0.15/ext/standard/tests/array/ |
H A D | usort_variation6.phpt | 10 echo "*** Testing usort() : usage variation ***\n"; 40 var_dump( usort($temp_array, 'cmp_function') ); 42 echo "-- Array after call to usort() --\n"; 45 echo "\n-- Pass usort() a sub-array --\n"; 46 var_dump( usort($array_args[5], 'cmp_function') ); 48 echo "-- Array after call to usort() --\n"; 52 *** Testing usort() : usage variation *** 54 -- Pass usort() a two-dimensional array -- 56 -- Array after call to usort() -- 118 -- Pass usort() a sub-array -- [all …]
|
/dports/lang/php81/php-8.1.1/ext/standard/tests/array/ |
H A D | usort_variation6.phpt | 10 echo "*** Testing usort() : usage variation ***\n"; 40 var_dump( usort($temp_array, 'cmp_function') ); 42 echo "-- Array after call to usort() --\n"; 45 echo "\n-- Pass usort() a sub-array --\n"; 46 var_dump( usort($array_args[5], 'cmp_function') ); 48 echo "-- Array after call to usort() --\n"; 52 *** Testing usort() : usage variation *** 54 -- Pass usort() a two-dimensional array -- 56 -- Array after call to usort() -- 118 -- Pass usort() a sub-array -- [all …]
|
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/array/ |
H A D | usort_variation6.phpt | 10 echo "*** Testing usort() : usage variation ***\n"; 40 var_dump( usort($temp_array, 'cmp_function') ); 42 echo "-- Array after call to usort() --\n"; 45 echo "\n-- Pass usort() a sub-array --\n"; 46 var_dump( usort($array_args[5], 'cmp_function') ); 48 echo "-- Array after call to usort() --\n"; 52 *** Testing usort() : usage variation *** 54 -- Pass usort() a two-dimensional array -- 56 -- Array after call to usort() -- 118 -- Pass usort() a sub-array -- [all …]
|
/dports/math/combblas/CombBLAS_beta_16_2/usort/ |
H A D | makefile | 95 …zad/Documents/Projects/combinatorial-blas-2.0/CombBLAS && $(MAKE) -f CMakeFiles/Makefile2 usort/all 125 usort/CMakeFiles/Usortlib.dir/rule: 127 .PHONY : usort/CMakeFiles/Usortlib.dir/rule 130 Usortlib: usort/CMakeFiles/Usortlib.dir/rule 136 …ojects/combinatorial-blas-2.0/CombBLAS && $(MAKE) -f usort/CMakeFiles/Usortlib.dir/build.make usor… 141 …ojects/combinatorial-blas-2.0/CombBLAS && $(MAKE) -f usort/CMakeFiles/Usortlib.dir/build.make usor… 146 …ojects/combinatorial-blas-2.0/CombBLAS && $(MAKE) -f usort/CMakeFiles/Usortlib.dir/build.make usor… 151 …ojects/combinatorial-blas-2.0/CombBLAS && $(MAKE) -f usort/CMakeFiles/Usortlib.dir/build.make usor… 156 …ojects/combinatorial-blas-2.0/CombBLAS && $(MAKE) -f usort/CMakeFiles/Usortlib.dir/build.make usor… 161 …ojects/combinatorial-blas-2.0/CombBLAS && $(MAKE) -f usort/CMakeFiles/Usortlib.dir/build.make usor… [all …]
|