Home
last modified time | relevance | path

Searched refs:arrays (Results 76 – 100 of 724) sorted by relevance

12345678910>>...29

/PHP-7.2/ext/intl/tests/
H A Dcollator_sort_with_sort_keys.phpt10 * Sort arrays using various locales.
17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays )
25 foreach( $arrays as $array )
H A Dcollator_sort_with_sort_keys_variant2.phpt10 * Sort arrays using various locales.
17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays )
25 foreach( $arrays as $array )
H A Dcollator_sort.phpt10 * Sort arrays using various locales.
17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays, $sort_flag = Collator::SORT_REGULAR )
25 foreach( $arrays as $array )
H A Dcollator_sort_variant2.phpt10 * Sort arrays using various locales.
17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays, $sort_flag = Collator::SORT_REGULAR )
25 foreach( $arrays as $array )
/PHP-7.2/ext/standard/tests/array/
H A Darray_rand_variation4.phpt2 Test array_rand() function : usage variation - with associative arrays for 'input' parameter
15 echo "*** Testing array_rand() : with associative arrays ***\n";
17 // initialise associative arrays
46 /* looping to test array_rand() function with different arrays having
70 \*\*\* Testing array_rand\(\) : with associative arrays \*\*\*
H A Darsort_variation3.phpt12 …* Testing arsort() by providing different integer/float value arrays for $array argument with foll…
20 // group of various arrays with indices
39 echo "\n-- Testing arsort() by supplying various integer/float arrays --\n";
41 // loop through to test arsort() with different arrays
65 -- Testing arsort() by supplying various integer/float arrays --
H A Dasort_variation3.phpt12 …* Testing asort() by providing different integer/float value arrays for $array argument with follo…
20 // group of various arrays with indices
39 echo "\n-- Testing asort() by supplying various integer/float arrays --\n";
41 // loop through to test asort() with different arrays
65 -- Testing asort() by supplying various integer/float arrays --
H A Dkrsort_variation9.phpt11 * Testing krsort() by providing arrays with/without key values for $array argument
19 // list of arrays with/without key values
31 echo "\n-- Testing krsort() by supplying various arrays with/without key values --\n";
33 // loop through to test krsort() with different arrays,
54 -- Testing krsort() by supplying various arrays with/without key values --
H A Dsort_variation3.phpt12 * Testing sort() by providing different integer/float value arrays for $array argument
22 // group of various arrays
41 echo "\n-- Testing sort() by supplying various integer/float arrays --\n";
43 // loop through to test sort() with different arrays
67 -- Testing sort() by supplying various integer/float arrays --
H A Darray_count_values_variation.phpt27 $arrays = array ("bobk" => "bobv", "val", 6 => "val6", $fp, $ob);
29 var_dump (@array_count_values ($arrays));
H A Darray_search_variation3.phpt11 /* checking for sub-arrays with array_search() */
12 echo "*** Testing sub-arrays with array_search() ***\n";
45 *** Testing sub-arrays with array_search() ***
H A Din_array_variation3.phpt14 /* checking for sub-arrays with in_array() */
15 echo "*** Testing sub-arrays with in_array() ***\n";
48 *** Testing sub-arrays with in_array() ***
H A Darray_reverse_variation5.phpt13 * Testing the functionality of array_reverse() by giving associative arrays with different
40 $arrays = array (
45 // arrays with integer values
50 // arrays with float values
54 // arrays with string values
66 // loop through the various elements of $arrays to test array_reverse()
68 foreach($arrays as $array) {
H A Darray_map_variation15.phpt6 * Description: Applies the callback to the elements of the given arrays
16 // arrays to be passed as arguments
H A Dksort_variation3.phpt20 // diff. associative arrays to sort
37 echo "\n-- Testing ksort() by supplying various integer/float arrays --\n";
39 // loop through to test ksort() with different arrays
63 -- Testing ksort() by supplying various integer/float arrays --
H A Drsort_variation9.phpt2 Test rsort() function : usage variations - mixed associative arrays
11 * Pass rsort() associative arrays to test key re-assignment
16 // Associative arrays
38 // loop through to test rsort() with different arrays,
H A Darray_merge_recursive_variation3.phpt2 Test array_merge_recursive() function : usage variations - different arrays for 'arr1' argument
6 * Description: Recursively merges elements from passed arrays into one array
11 * Passing different arrays to $arr1 argument and testing whether
15 echo "*** Testing array_merge_recursive() : Passing different arrays to \$arr1 argument ***\n";
48 // arrays passed to $arr1 argument
49 $arrays = array (
59 // associative arrays
73 // array containing embedded arrays
80 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
82 foreach($arrays as $arr1) {
[all …]
H A Darray_key_exists_variation5.phpt2 Test array_key_exists() function : usage variations - multidimensional arrays
12 * Test how array_key_exists() behaves with multi-dimensional arrays
H A Darray_keys_variation_003.phpt6 echo "*** Testing array_keys() on all the types other than arrays ***\n";
30 *** Testing array_keys() on all the types other than arrays ***
H A Darray_merge_variation5.phpt6 * Description: Merges elements from passed arrays into one array
11 * Pass array_merge() arrays with only numeric keys to test behaviour.
H A Dmax_variation2.phpt10 echo "\n*** Testing arrays ***\n";
32 *** Testing arrays ***
H A Dmin_variation2.phpt10 echo "\n*** Testing arrays ***\n";
32 *** Testing arrays ***
H A Darray_intersect_assoc_variation9.phpt2 Test array_intersect_assoc() function : usage variations - two dimensional arrays for $arr1 and $ar…
12 * Testing the behavior of array_intersect_assoc() by passing 2-D arrays
19 // two dimensional arrays for $arr1 and $arr2 argument
22 // arrays with default keys
26 // arrays with explicit keys
H A Dsort_object1.phpt11 …* testing sort() by providing integer/string object arrays with flag values are defualt, SORT_REGU…
59 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is defualt --\n";
71 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
87 -- Testing sort() by supplying various object arrays, 'flag' value is defualt --
165 -- Testing sort() by supplying various object arrays, 'flag' value is SORT_REGULAR --
H A Darray_merge_variation6.phpt6 * Description: Merges elements from passed arrays into one array
11 * Pass array_merge arrays with string keys to test behaviour.

Completed in 27 milliseconds

12345678910>>...29