/PHP-7.3/ext/standard/tests/array/ |
H A D | asort_variation1.phpt | 2 Test asort() function : usage variations - unexpected values for 'array_arg' argument 5 /* Prototype : bool asort(array &array_arg [, int sort_flags]) 19 echo "*** Testing asort() : usage variations ***\n"; 76 // loop though each element of the array and check the working of asort() 85 var_dump( asort($value) ); // expecting : bool(false) 86 var_dump( asort($value, SORT_REGULAR) ); // expecting : bool(false) 87 var_dump( asort($value, SORT_NUMERIC) ); // expecting : bool(false) 88 var_dump( asort($value, SORT_STRING) ); // expecting : bool(false) 95 *** Testing asort() : usage variations *** 102 Warning: asort() expects parameter 1 to be array, int given in %s on line %d [all …]
|
H A D | asort_error.phpt | 2 Test asort() function : error conditions 5 /* Prototype : bool asort(array &array_arg [, int sort_flags]) 11 * Testing asort() function with all possible error conditions 14 echo "*** Testing asort() : error conditions ***\n"; 17 echo "\n-- Testing asort() function with Zero arguments --\n"; 18 var_dump( asort() ); 20 //Test asort with more than the expected number of arguments 29 var_dump( asort($array_arg,$flag, $extra_arg) ); 38 *** Testing asort() : error conditions *** 40 -- Testing asort() function with Zero arguments -- [all …]
|
H A D | asort_variation4.phpt | 2 Test asort() function : usage variations - sort reference variables 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 12 * Testing asort() by providing reference variable array with following flag values 18 echo "*** Testing asort() :usage variations ***\n"; 29 var_dump( asort($temp_array) ); // expecting : bool(true) 34 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 39 var_dump( asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true) 45 *** Testing asort() :usage variations *** 47 -- Testing asort() by supplying reference variable array, 'flag' value is defualt -- 58 -- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR -- [all …]
|
H A D | asort_variation7.phpt | 2 Test asort() function : usage variations - sort bool values 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 17 echo "*** Testing asort() : usage variations ***\n"; 24 var_dump(asort($temp_array) ); 29 var_dump(asort($temp_array, SORT_REGULAR) ); 34 var_dump(asort($temp_array, SORT_NUMERIC) ); 39 var_dump(asort($temp_array, SORT_STRING) ); 45 *** Testing asort() : usage variations *** 47 -- Testing asort() by supplying bool value array, 'flag' value is defualt -- 60 -- Testing asort() by supplying bool value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | asort_basic.phpt | 2 Test asort() function : basic functionality 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 20 echo "*** Testing asort() : basic functionality ***\n"; 33 var_dump( asort($temp_array) ); // expecting : bool(true) 38 var_dump( asort($temp_array) ); // expecting : bool(true) 43 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 48 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 53 var_dump( asort($temp_array, SORT_STRING) ); // expecting : bool(true) 63 var_dump( asort($temp_array, SORT_NATURAL) ); // expecting : bool(true) 79 *** Testing asort() : basic functionality *** [all …]
|
H A D | asort_variation10.phpt | 2 Test asort() function : usage variations - sort octal values 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 18 echo "*** Testing asort() : usage variations ***\n"; 26 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is defualt --\n"; 28 var_dump( asort($temp_array) ); // expecting : bool(true) 33 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 38 var_dump( asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true) 44 *** Testing asort() : usage variations *** 46 -- Testing asort() by supplying octal value array, 'flag' value is defualt -- 69 -- Testing asort() by supplying octal value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | asort_variation6.phpt | 2 Test asort() function : usage variations - sort hexadecimal values 5 /* Prototype : bool asort ( array &$array [, int $asort_flags] ) 18 echo "*** Testing asort() : usage variations ***\n"; 26 echo "\n-- Testing asort() by supplying hexadecimal value array, 'flag' value is defualt --\n"; 28 var_dump(asort($temp_array) ); // expecting : bool(true) 33 var_dump(asort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 38 var_dump(asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true) 44 *** Testing asort() : usage variations *** 46 -- Testing asort() by supplying hexadecimal value array, 'flag' value is defualt -- 69 -- Testing asort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | asort_object1.phpt | 2 Test asort() function : object functionality - sort objects 5 /* Prototype : bool asort ( array &$array [, int $asort_flags] ) 12 * testing asort() by providing integer/string object arrays with following flag values 17 echo "*** Testing asort() : object functionality ***\n"; 66 var_dump(asort($temp_array) ); 69 // testing asort() function by supplying string object array, flag value is defualt 71 var_dump(asort($temp_array) ); 77 var_dump(asort($temp_array, SORT_REGULAR) ); 82 var_dump(asort($temp_array, SORT_REGULAR) ); 88 *** Testing asort() : object functionality *** [all …]
|
H A D | asort_variation2.phpt | 2 Test asort() function : usage variations - unexpected values for 'sort_flags' argument 5 /* Prototype : proto bool asort(array &array_arg [, int sort_flags]) 12 * Testing asort() by providing different unexpected values for flag argument 15 echo "*** Testing asort() : usage variations ***\n"; 72 // loop though each element of the array and check the working of asort() 81 var_dump( asort($temp_array, $value) ); 89 *** Testing asort() : usage variations *** 214 Warning: asort() expects parameter 2 to be int, string given in %s on line %d 226 Warning: asort() expects parameter 2 to be int, string given in %s on line %d 238 Warning: asort() expects parameter 2 to be int, string given in %s on line %d [all …]
|
H A D | asort_variation8.phpt | 2 Test asort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defaul… 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 18 echo "*** Testing asort() : usage variations ***\n"; 38 echo "\n-- Testing asort() by supplying various arrays containing sub arrays --\n"; 40 // loop through to test asort() with different arrays 44 // testing asort() function by supplying different arrays, flag value is default 47 var_dump(asort($temp_array) ); 50 // testing asort() function by supplying different arrays, flag value = SORT_REGULAR 53 var_dump(asort($temp_array, SORT_REGULAR) ); 61 *** Testing asort() : usage variations *** [all …]
|
H A D | asort_variation11.phpt | 2 Test asort() function : usage variations - sort mixed values, 'sort_flags' as default/SORT_REGULAR … 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 12 * testing asort() by providing mixed value array for $array argument with following flag values. 17 echo "*** Testing asort() : usage variations ***\n"; 31 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is default --\n"; 33 var_dump( asort($temp_array) ); 36 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 38 var_dump( asort($temp_array, SORT_REGULAR) ); 44 *** Testing asort() : usage variations *** 46 -- Testing asort() by supplying mixed value array, 'flag' value is default -- [all …]
|
H A D | asort_object2.phpt | 5 /* Prototype : bool asort ( array &$array [, int $asort_flags] ) 12 * testing asort() by providing integer/string object arrays with following flag values 17 echo "*** Testing asort() : object functionality ***\n"; 68 // testing asort() function by supplying integer object array, flag value is default 70 var_dump(asort($temp_array) ); 73 // testing asort() function by supplying string object array, flag value is default 75 var_dump(asort($temp_array) ); 81 var_dump(asort($temp_array, SORT_REGULAR) ); 86 var_dump(asort($temp_array, SORT_REGULAR) ); 92 *** Testing asort() : object functionality *** [all …]
|
H A D | asort_variation3.phpt | 2 Test asort() function : usage variations - sort integer/float values 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 12 …* Testing asort() by providing different integer/float value arrays for $array argument with follo… 18 echo "*** Testing asort() : usage variations ***\n"; 39 echo "\n-- Testing asort() by supplying various integer/float arrays --\n"; 41 // loop through to test asort() with different arrays 47 var_dump(asort($temp_array) ); 54 var_dump(asort($temp_array, $flag) ); 63 *** Testing asort() : usage variations *** 65 -- Testing asort() by supplying various integer/float arrays --
|
H A D | asort_variation9.phpt | 2 Test asort() function : usage variations - sorting arrays with/without keys, 'sort_flags' as defaul… 5 /* Prototype : bool asort ( array &$array [, int $sort_flags] ) 12 …* Testing asort() by providing arrays with key values for $array argument with following flag val… 17 echo "*** Testing asort() : usage variations ***\n"; 31 echo "\n-- Testing asort() by supplying various arrays with key values --\n"; 33 // loop through to test asort() with different arrays, 40 var_dump(asort($temp_array) ); 45 var_dump(asort($temp_array, SORT_REGULAR) ); 53 *** Testing asort() : usage variations *** 55 -- Testing asort() by supplying various arrays with key values --
|
H A D | asort_variation5.phpt | 2 Test asort() function : usage variations - sort strings 10 /* Prototype : bool asort ( array &$array [, int $asort_flags] ) 17 …* testing asort() by providing different string arrays for $array argument with following flag val… 23 echo "*** Testing asort() : usage variations ***\n"; 42 echo "\n-- Testing asort() by supplying various string arrays --\n"; 44 // loop through to test asort() with different arrays 50 var_dump(asort($temp_array) ); // expecting : bool(true) 57 var_dump(asort($temp_array, $flag) ); // expecting : bool(true) 66 *** Testing asort() : usage variations *** 68 -- Testing asort() by supplying various string arrays --
|
H A D | bug36975.phpt | 21 asort($c);
|
/PHP-7.3/ext/spl/tests/ |
H A D | arrayObject_asort_basic1.phpt | 2 SPL: Test ArrayObject::asort() function : basic functionality with array based store 5 /* Prototype : int ArrayObject::asort() 6 * Description: proto int ArrayIterator::asort() 12 echo "*** Testing ArrayObject::asort() : basic functionality ***\n"; 16 var_dump($ao1->asort()); 18 var_dump($ao2->asort('blah')); 20 var_dump($ao2->asort(SORT_NUMERIC)); 25 *** Testing ArrayObject::asort() : basic functionality *** 39 Warning: asort() expects parameter 2 to be int, string given in %sarrayObject_asort_basic1.php on l…
|
H A D | arrayObject_asort_basic2.phpt | 2 SPL: Test ArrayObject::asort() function : basic functionality with object based store 5 /* Prototype : int ArrayObject::asort() 6 * Description: proto int ArrayIterator::asort() 12 echo "*** Testing ArrayObject::asort() : basic functionality ***\n"; 22 var_dump($ao1->asort()); 27 *** Testing ArrayObject::asort() : basic functionality ***
|
H A D | bug46115.phpt | 6 $x = new reflectionmethod('RecursiveArrayIterator', 'asort');
|
H A D | arrayObject___construct_basic7.phpt | 10 $ao->asort();
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | get_html_translation_table_basic8.phpt | 10 asort( $tt ); 27 asort( $tt ); 34 asort( $tt ); 40 asort( $tt );
|
H A D | get_html_translation_table_basic9.phpt | 11 asort( $tt ); 28 asort( $tt ); 35 asort( $tt ); 41 asort( $tt );
|
H A D | get_html_translation_table_basic3.phpt | 19 asort( $tt ); 25 asort( $tt ); 31 asort( $tt );
|
H A D | get_html_translation_table_basic7.phpt | 11 asort( $tt ); 28 asort( $tt ); 35 asort( $tt ); 41 asort( $tt );
|
/PHP-7.3/ext/hash/ |
H A D | bench.php | 87 asort($time, SORT_NUMERIC);
|