/PHP-7.0/ext/standard/tests/array/ |
H A D | ksort_variation1.phpt | 2 Test ksort() function : usage variations - unexpected values for 'array' argument 5 /* Prototype : bool ksort(array &array [, int sort_flags]) 18 echo "*** Testing ksort() : usage variations ***\n"; 74 // loop though each element of the array and check the working of ksort() 83 var_dump( ksort($value) ); // expecting : bool(false) 84 var_dump( ksort($value, SORT_REGULAR) ); // expecting : bool(false) 85 var_dump( ksort($value, SORT_NUMERIC) ); // expecting : bool(false) 86 var_dump( ksort($value, SORT_STRING) ); // expecting : bool(false) 93 *** Testing ksort() : usage variations *** 152 Warning: ksort() expects parameter 1 to be array, float given in %s on line %d [all …]
|
H A D | ksort_variation4.phpt | 2 Test ksort() function : usage variations - sort bool values 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 16 echo "*** Testing ksort() : usage variations ***\n"; 23 var_dump(ksort($temp_array) ); 28 var_dump(ksort($temp_array, SORT_REGULAR) ); 33 var_dump(ksort($temp_array, SORT_NUMERIC) ); 38 var_dump(ksort($temp_array, SORT_STRING) ); 44 *** Testing ksort() : usage variations *** 46 -- Testing ksort() by supplying boolean value array, 'flag' value is defualt -- 55 -- Testing ksort() by supplying boolean value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | ksort_error.phpt | 2 Test ksort() function : error conditions 5 /* Prototype : bool ksort(array &array_arg [, int sort_flags]) 11 * Testing ksort() function with all possible error conditions 14 echo "*** Testing ksort() : error conditions ***\n"; 17 echo "\n-- Testing ksort() function with Zero arguments --\n"; 18 var_dump( ksort() ); 20 //Test ksort with more than the expected number of arguments 30 var_dump( ksort($temp_array,$flag, $extra_arg) ); 37 *** Testing ksort() : error conditions *** 39 -- Testing ksort() function with Zero arguments -- [all …]
|
H A D | ksort_basic.phpt | 2 Test ksort() function : basic functionality 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 18 echo "*** Testing ksort() : basic functionality ***\n"; 31 var_dump( ksort($temp_array) ); // expecting : bool(true) 36 var_dump( ksort($temp_array) ); // expecting : bool(true) 41 var_dump( ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 46 var_dump( ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 51 var_dump( ksort($temp_array, SORT_STRING) ); // expecting : bool(true) 77 *** Testing ksort() : basic functionality *** 113 -- Testing ksort() by supplying string array, 'flag' = SORT_REGULAR -- [all …]
|
H A D | ksort_variation10.phpt | 2 Test ksort() function : usage variations - sort octal values 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 17 echo "*** Testing ksort() : usage variations ***\n"; 25 echo "\n-- Testing ksort() by supplying octal value array, 'flag' value is defualt --\n"; 27 var_dump( ksort($temp_array) ); // expecting : bool(true) 32 var_dump( ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 37 var_dump( ksort($temp_array, SORT_NUMERIC) ); // expecting : bool(true) 43 *** Testing ksort() : usage variations *** 45 -- Testing ksort() by supplying octal value array, 'flag' value is defualt -- 68 -- Testing ksort() by supplying octal value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | ksort_variation11.phpt | 2 Test ksort() function : usage variations - sort heredoc strings 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 11 * testing ksort() by providing array of heredoc strings for $array argument with 18 echo "*** Testing ksort() : usage variations ***\n"; 42 var_dump(ksort($temp_array) ); // expecting : bool(true) 47 var_dump(ksort($temp_array, SORT_REGULAR) ); // expecting : bool(true) 52 var_dump(ksort($temp_array, SORT_STRING) ); // expecting : bool(true) 58 *** Testing ksort() : usage variations *** 60 -- Testing ksort() by supplying heredoc string array, 'flag' value is defualt -- 73 -- Testing ksort() by supplying heredoc string array, 'flag' = SORT_REGULAR -- [all …]
|
H A D | ksort_variation6.phpt | 2 Test ksort() function : usage variations - sort hexadecimal values 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 17 echo "*** Testing ksort() : usage variations ***\n"; 26 echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt --\n"; 28 var_dump(ksort( $temp_array) ); // expecting : bool(true) 33 var_dump(ksort( $temp_array, SORT_REGULAR) ); // expecting : bool(true) 38 var_dump(ksort( $temp_array, SORT_NUMERIC) ); // expecting : bool(true) 44 *** Testing ksort() : usage variations *** 46 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt -- 69 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR -- [all …]
|
H A D | ksort_variation2.phpt | 2 Test ksort() function : usage variations - unexpected values for 'sort_flags' argument 5 /* Prototype : bool ksort(array &array_arg [, int sort_flags]) 11 * Testing ksort() by providing different unexpected values for flag argument 14 echo "*** Testing ksort() : usage variations ***\n"; 71 // loop though each element of the array and check the working of ksort() 80 var_dump( ksort($temp_array, $value) ); 88 *** Testing ksort() : usage variations *** 213 Warning: ksort() expects parameter 2 to be integer, string given in %s on line %d 225 Warning: ksort() expects parameter 2 to be integer, string given in %s on line %d 237 Warning: ksort() expects parameter 2 to be integer, string given in %s on line %d [all …]
|
H A D | ksort_variation8.phpt | 2 Test ksort() function : usage variations - sort mixed values, 'sort_flags' as default/SORT_REGULAR … 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 11 …* testing ksort() by providing array of mixed values for $array argument with following flag value… 16 echo "*** Testing ksort() : usage variations ***\n"; 30 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is defualt --\n"; 32 var_dump( ksort($temp_array) ); 35 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 37 var_dump( ksort($temp_array, SORT_REGULAR) ); 43 *** Testing ksort() : usage variations *** 45 -- Testing ksort() by supplying mixed value array, 'flag' value is defualt -- [all …]
|
H A D | ksort_object.phpt | 2 Test ksort() function : object functionality - sort objects 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 15 echo "*** Testing ksort() : object functionality ***\n"; 60 // testing ksort() function by supplying integer object array, flag value is defualt 62 var_dump(ksort($temp_array) ); 65 // testing ksort() function by supplying string object array, flag value is defualt 67 var_dump(ksort($temp_array) ); 73 var_dump(ksort($temp_array, SORT_REGULAR) ); 78 var_dump(ksort($temp_array, SORT_REGULAR) ); 84 *** Testing ksort() : object functionality *** [all …]
|
H A D | ksort_variation7.phpt | 2 Test ksort() function : usage variations - sort array with diff. sub arrays 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 11 * testing ksort() by providing arrays containing sub arrays for $array argument 17 echo "*** Testing ksort() : usage variations ***\n"; 37 echo "\n-- Testing ksort() by supplying various arrays containing sub arrays --\n"; 39 // loop through to test ksort() with different arrays 45 var_dump( ksort($temp_array) ); 50 var_dump( ksort($temp_array, SORT_REGULAR) ); 58 *** Testing ksort() : usage variations *** 60 -- Testing ksort() by supplying various arrays containing sub arrays --
|
H A D | ksort_variation3.phpt | 2 Test ksort() function : usage variations - sort integer/float values 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 11 * Testing ksort() by providing array of integer/float/mixed values for $array argument 18 echo "*** Testing ksort() : usage variations ***\n"; 37 echo "\n-- Testing ksort() by supplying various integer/float arrays --\n"; 39 // loop through to test ksort() with different arrays 45 var_dump(ksort($temp_array) ); 48 // loop through $flags array and call ksort() with all possible sort flag values 52 var_dump(ksort($temp_array, $flag) ); 61 *** Testing ksort() : usage variations *** [all …]
|
H A D | ksort_variation9.phpt | 2 Test ksort() function : usage variations - sorting arrays with/without keys 5 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 11 …* Testing ksort() by providing arrays with/without key values for $array argument with following … 16 echo "*** Testing ksort() : usage variations ***\n"; 30 echo "\n-- Testing ksort() by supplying various arrays with/without key values --\n"; 32 // loop through to test ksort() with different arrays, 38 var_dump( ksort($temp_array) ); 43 var_dump( ksort($temp_array, SORT_REGULAR) ); 51 *** Testing ksort() : usage variations *** 53 -- Testing ksort() by supplying various arrays with/without key values --
|
H A D | ksort_variation5.phpt | 2 Test ksort() function : usage variations - sort strings 10 /* Prototype : bool ksort ( array &$array [, int $sort_flags] ) 16 * testing ksort() by providing array of string values for $array argument with 23 echo "*** Testing ksort() : usage variations ***\n"; 42 echo "\n-- Testing ksort() by supplying various string arrays --\n"; 44 // loop through to test ksort() with different arrays 50 var_dump(ksort($temp_array) ); // expecting : bool(true) 53 // loop through $flags array and call ksort() with all possible sort flag values 57 var_dump(ksort($temp_array, $flag) ); // expecting : bool(true) 66 *** Testing ksort() : usage variations *** [all …]
|
/PHP-7.0/ext/spl/tests/ |
H A D | arrayObject_ksort_basic1.phpt | 2 SPL: Test ArrayObject::ksort() function : basic functionality with array based store 5 /* Prototype : int ArrayObject::ksort() 6 * Description: proto int ArrayIterator::ksort() 12 echo "*** Testing ArrayObject::ksort() : basic functionality ***\n"; 15 var_dump($ao1->ksort()); 17 var_dump($ao2->ksort('blah')); 19 var_dump($ao2->ksort(SORT_STRING)); 24 *** Testing ArrayObject::ksort() : basic functionality *** 38 Warning: ksort() expects parameter 2 to be integer, string given in %sarrayObject_ksort_basic1.php …
|
H A D | arrayObject_ksort_basic2.phpt | 2 SPL: Test ArrayObject::ksort() function : basic functionality with object base store 5 /* Prototype : int ArrayObject::ksort() 6 * Description: proto int ArrayIterator::ksort() 12 echo "*** Testing ArrayObject::ksort() : basic functionality ***\n"; 22 var_dump($ao1->ksort()); 27 *** Testing ArrayObject::ksort() : basic functionality ***
|
/PHP-7.0/scripts/dev/ |
H A D | search_underscores.php | 82 ksort($extensions); 85 ksort($classes); 88 ksort($methods);
|
/PHP-7.0/ext/phar/tests/cache_list/files/ |
H A D | write5.phar | 8 ksort($arr); 15 ksort($arr);
|
H A D | write5.phar.inc | 14 ksort($arr); 21 ksort($arr);
|
H A D | write6.phar | 9 ksort($arr); 16 ksort($arr);
|
H A D | write6.phar.inc | 15 ksort($arr); 22 ksort($arr);
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | reflection_tools.inc | 26 ksort($tmp, SORT_STRING); 35 ksort($tmp, SORT_STRING); 42 ksort($properties, SORT_STRING); 48 ksort($properties, SORT_STRING); 54 ksort($constants, SORT_STRING); 97 // ksort($tmp, SORT_STRING);
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | 004.phpt | 8 ksort($a);
|
/PHP-7.0/ext/standard/html_tables/ |
H A D | html_table_gen.php | 342 ksort($mappy); 464 ksort($multicp_rows); 465 foreach ($multicp_rows as &$v) { ksort($v); }
|
/PHP-7.0/ext/fileinfo/tests/ |
H A D | finfo_file_002.phpt | 16 ksort($results);
|