Home
last modified time | relevance | path

Searched refs:asort (Results 1 – 25 of 49) sorted by relevance

12

/PHP-8.2/ext/standard/tests/array/
H A Dasort_variation4.phpt2 Test asort() function : usage variations - sort reference variables
6 * Testing asort() by providing reference variable array with following flag values
12 echo "*** Testing asort() :usage variations ***\n";
23 var_dump( asort($temp_array) ); // expecting : bool(true)
26 echo "\n-- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n";
28 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
33 var_dump( asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
39 *** Testing asort() :usage variations ***
41 -- Testing asort() by supplying reference variable array, 'flag' value is default --
52 -- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR --
[all …]
H A Dasort_basic.phpt2 Test asort() function : basic functionality
14 echo "*** Testing asort() : basic functionality ***\n";
27 var_dump( asort($temp_array) ); // expecting : bool(true)
32 var_dump( asort($temp_array) ); // expecting : bool(true)
37 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
42 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
47 var_dump( asort($temp_array, SORT_STRING) ); // expecting : bool(true)
57 var_dump( asort($temp_array, SORT_NATURAL) ); // expecting : bool(true)
73 *** Testing asort() : basic functionality ***
109 -- Testing asort() by supplying string array, 'flag' = SORT_REGULAR --
[all …]
H A Dasort_variation7.phpt2 Test asort() function : usage variations - sort bool values
11 echo "*** Testing asort() : usage variations ***\n";
18 var_dump(asort($temp_array) );
23 var_dump(asort($temp_array, SORT_REGULAR) );
28 var_dump(asort($temp_array, SORT_NUMERIC) );
33 var_dump(asort($temp_array, SORT_STRING) );
39 *** Testing asort() : usage variations ***
41 -- Testing asort() by supplying bool value array, 'flag' value is default --
54 -- Testing asort() by supplying bool value array, 'flag' value is SORT_REGULAR --
67 -- Testing asort() by supplying bool value array, 'flag' value is SORT_NUMERIC --
[all …]
H A Dasort_variation10.phpt2 Test asort() function : usage variations - sort octal values
6 * testing asort() by providing different octal array for $array argument with following flag values
12 echo "*** Testing asort() : usage variations ***\n";
20 echo "\n-- Testing asort() by supplying octal value array, 'flag' value is default --\n";
22 var_dump( asort($temp_array) ); // expecting : bool(true)
27 var_dump( asort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
32 var_dump( asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
38 *** Testing asort() : usage variations ***
40 -- Testing asort() by supplying octal value array, 'flag' value is default --
63 -- Testing asort() by supplying octal value array, 'flag' value is SORT_REGULAR --
[all …]
H A Dasort_variation6.phpt2 Test asort() function : usage variations - sort hexadecimal values
6 …* testing asort() by providing different hexa-decimal array for $array argument with following fla…
12 echo "*** Testing asort() : usage variations ***\n";
20 echo "\n-- Testing asort() by supplying hexadecimal value array, 'flag' value is default --\n";
22 var_dump(asort($temp_array) ); // expecting : bool(true)
27 var_dump(asort($temp_array, SORT_REGULAR) ); // expecting : bool(true)
32 var_dump(asort($temp_array, SORT_NUMERIC) ); // expecting : bool(true)
38 *** Testing asort() : usage variations ***
40 -- Testing asort() by supplying hexadecimal value array, 'flag' value is default --
63 -- Testing asort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
[all …]
H A Dasort_object1.phpt2 Test asort() function : object functionality - sort objects
6 * testing asort() by providing integer/string object arrays with following flag values
11 echo "*** Testing asort() : object functionality ***\n";
58 // testing asort() function by supplying integer object array, flag value is default
60 var_dump(asort($temp_array) );
63 // testing asort() function by supplying string object array, flag value is default
65 var_dump(asort($temp_array) );
71 var_dump(asort($temp_array, SORT_REGULAR) );
76 var_dump(asort($temp_array, SORT_REGULAR) );
82 *** Testing asort() : object functionality ***
[all …]
H A Dasort_variation8.phpt2 Test asort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as defaul…
6 …* testing asort() by providing arrays contains sub arrays for $array argument with flowing flag va…
12 echo "*** Testing asort() : usage variations ***\n";
32 echo "\n-- Testing asort() by supplying various arrays containing sub arrays --\n";
34 // loop through to test asort() with different arrays
38 // testing asort() function by supplying different arrays, flag value is default
41 var_dump(asort($temp_array) );
44 // testing asort() function by supplying different arrays, flag value = SORT_REGULAR
47 var_dump(asort($temp_array, SORT_REGULAR) );
55 *** Testing asort() : usage variations ***
[all …]
H A Dasort_variation11.phpt2 Test asort() function : usage variations - sort mixed values, 'sort_flags' as default/SORT_REGULAR …
6 * testing asort() by providing mixed value array for $array argument with following flag values.
11 echo "*** Testing asort() : usage variations ***\n";
25 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is default --\n";
27 var_dump( asort($temp_array) );
30 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
32 var_dump( asort($temp_array, SORT_REGULAR) );
38 *** Testing asort() : usage variations ***
40 -- Testing asort() by supplying mixed value array, 'flag' value is default --
97 -- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dasort_object2.phpt2 Test asort() function : object functionality - sorting objects with diff. accessibility of member v…
6 * testing asort() by providing integer/string object arrays with following flag values
11 echo "*** Testing asort() : object functionality ***\n";
62 // testing asort() function by supplying integer object array, flag value is default
64 var_dump(asort($temp_array) );
67 // testing asort() function by supplying string object array, flag value is default
69 var_dump(asort($temp_array) );
75 var_dump(asort($temp_array, SORT_REGULAR) );
80 var_dump(asort($temp_array, SORT_REGULAR) );
86 *** Testing asort() : object functionality ***
[all …]
H A Dasort_variation3.phpt2 Test asort() function : usage variations - sort integer/float values
6 …* Testing asort() by providing different integer/float value arrays for $array argument with follo…
12 echo "*** Testing asort() : usage variations ***\n";
33 echo "\n-- Testing asort() by supplying various integer/float arrays --\n";
35 // loop through to test asort() with different arrays
41 var_dump(asort($temp_array) );
48 var_dump(asort($temp_array, $flag) );
57 *** Testing asort() : usage variations ***
59 -- Testing asort() by supplying various integer/float arrays --
H A Dasort_variation9.phpt2 Test asort() function : usage variations - sorting arrays with/without keys, 'sort_flags' as defaul…
6 …* Testing asort() by providing arrays with key values for $array argument with following flag val…
11 echo "*** Testing asort() : usage variations ***\n";
25 echo "\n-- Testing asort() by supplying various arrays with key values --\n";
27 // loop through to test asort() with different arrays,
34 var_dump(asort($temp_array) );
39 var_dump(asort($temp_array, SORT_REGULAR) );
47 *** Testing asort() : usage variations ***
49 -- Testing asort() by supplying various arrays with key values --
H A Dasort_variation5.phpt2 Test asort() function : usage variations - sort strings
6 …* testing asort() by providing different string arrays for $array argument with following flag val…
12 echo "*** Testing asort() : usage variations ***\n";
31 echo "\n-- Testing asort() by supplying various string arrays --\n";
33 // loop through to test asort() with different arrays
39 var_dump(asort($temp_array) ); // expecting : bool(true)
46 var_dump(asort($temp_array, $flag) ); // expecting : bool(true)
55 *** Testing asort() : usage variations ***
57 -- Testing asort() by supplying various string arrays --
H A Dasort_stability.phpt2 asort() is stable
7 asort($array);
H A Dbug36975.phpt21 asort($c);
/PHP-8.2/ext/spl/tests/
H A DarrayObject_asort_basic1.phpt2 SPL: Test ArrayObject::asort() function : basic functionality with array based store
10 echo "*** Testing ArrayObject::asort() : basic functionality ***\n";
14 var_dump($ao1->asort());
17 var_dump($ao2->asort('blah'));
22 var_dump($ao2->asort(SORT_NUMERIC));
26 *** Testing ArrayObject::asort() : basic functionality ***
39 ArrayObject::asort(): Argument #1 ($flags) must be of type int, string given
H A DarrayObject_asort_basic2.phpt2 SPL: Test ArrayObject::asort() function : basic functionality with object based store
10 echo "*** Testing ArrayObject::asort() : basic functionality ***\n";
20 var_dump($ao1->asort());
24 *** Testing ArrayObject::asort() : basic functionality ***
H A Dbug46115.phpt6 $x = new reflectionmethod('RecursiveArrayIterator', 'asort');
H A DarrayObject___construct_basic7.phpt10 $ao->asort();
/PHP-8.2/ext/standard/tests/strings/
H A Dget_html_translation_table_basic8.phpt10 asort( $tt );
27 asort( $tt );
34 asort( $tt );
40 asort( $tt );
H A Dget_html_translation_table_basic9.phpt11 asort( $tt );
28 asort( $tt );
35 asort( $tt );
41 asort( $tt );
H A Dget_html_translation_table_basic3.phpt14 asort( $tt );
20 asort( $tt );
26 asort( $tt );
H A Dget_html_translation_table_basic7.phpt11 asort( $tt );
28 asort( $tt );
35 asort( $tt );
41 asort( $tt );
/PHP-8.2/ext/hash/
H A Dbench.php22 asort($time, SORT_NUMERIC);
/PHP-8.2/ext/spl/
H A Dspl_array.stub.php48 public function asort(int $flags = SORT_REGULAR): bool {} function in ArrayObject
166 public function asort(int $flags = SORT_REGULAR): bool {} function in ArrayIterator
/PHP-8.2/Zend/tests/
H A Dgh16648.phpt21 asort($arr);

Completed in 23 milliseconds

12