Home
last modified time | relevance | path

Searched refs:arrays (Results 51 – 75 of 529) sorted by relevance

12345678910>>...22

/PHP-7.4/ext/standard/tests/array/
H A Darray_map_variation8.phpt6 * Description: Applies the callback to the elements of the given arrays
44 echo "-- with two arrays --\n";
66 -- with two arrays --
H A Darray_unshift_variation6.phpt2 Test array_unshift() function : usage variations - two dimensional arrays for 'array' argument
12 * arrays and also sub-arrays within the two-dimensional array for $array argument.
16 echo "*** Testing array_unshift() : two dimensional arrays for \$array argument ***\n";
30 // combination of numeric and associative arrays
77 *** Testing array_unshift() : two dimensional arrays for $array argument ***
H A Darsort_variation9.phpt2 Test arsort() function : usage variations - sorting arrays with/without keys, 'sort_flags' as defau…
12 …* Testing arsort() by providing arrays with key values for $array argument with following flag va…
19 // list of arrays with/without key values
31 echo "\n-- Testing arsort() by supplying various arrays with key values --\n";
33 // loop through to test arsort() with different arrays,
55 -- Testing arsort() by supplying various arrays with key values --
H A Dasort_variation9.phpt2 Test asort() function : usage variations - sorting arrays with/without keys, 'sort_flags' as defaul…
12 …* Testing asort() by providing arrays with key values for $array argument with following flag val…
19 // list of arrays with/without key values
31 echo "\n-- Testing asort() by supplying various arrays with key values --\n";
33 // loop through to test asort() with different arrays,
55 -- Testing asort() by supplying various arrays with key values --
H A Dksort_variation9.phpt2 Test ksort() function : usage variations - sorting arrays with/without keys
11 …* Testing ksort() by providing arrays with/without key values for $array argument with following …
18 // list of arrays with/without key values
30 echo "\n-- Testing ksort() by supplying various arrays with/without key values --\n";
32 // loop through to test ksort() with different arrays,
53 -- Testing ksort() by supplying various arrays with/without key values --
H A Dsort_variation9.phpt2 Test sort() function : usage variations - sort diff. associative arrays, 'sort_flags' as defualt/SO…
12 * Testing sort() by providing arrays with key values for $array argument
21 // list of arrays with key and values
34 echo "\n-- Testing sort() by supplying various arrays with key values --\n";
36 // loop through to test sort() with different arrays,
58 -- Testing sort() by supplying various arrays with key values --
H A Darray_unshift_variation5.phpt14 * associative arrays having different possible values to $array argument.
43 // different variations of associative arrays to be passed to $array argument
44 $arrays = array (
49 // arrays with integer values
54 // arrays with float values
58 // arrays with string values
70 // loop through the various elements of $arrays to test array_unshift()
72 foreach($arrays as $array) {
H A Dend.phpt15 $arrays = array (
32 /* loop through $arrays to print the last element of each sub-array */
33 echo "*** Testing end() on different arrays ***\n";
35 foreach ($arrays as $sub_array){
43 /* checking for end() on sub-arrays */
44 echo "\n*** Testing end() with sub-arrays ***\n";
133 *** Testing end() on different arrays ***
182 *** Testing end() with sub-arrays ***
H A Dend_64bit.phpt15 $arrays = array (
32 /* loop through $arrays to print the last element of each sub-array */
33 echo "*** Testing end() on different arrays ***\n";
35 foreach ($arrays as $sub_array){
43 /* checking for end() on sub-arrays */
44 echo "\n*** Testing end() with sub-arrays ***\n";
132 *** Testing end() on different arrays ***
181 *** Testing end() with sub-arrays ***
H A Darray_intersect_assoc_variation3.phpt2 Test array_intersect_assoc() function : usage variations - different arrays for 'arr1' argument
12 * Passing different types of arrays to $arr1 argument and testing whether
17 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr1 argument **…
49 // arrays to be passed to $arr1 argument
50 $arrays = array (
60 // associative arrays
90 foreach($arrays as $arr1) {
105 *** Testing array_intersect_assoc() : Passing different types of arrays to $arr1 argument ***
H A Darray_intersect_assoc_variation4.phpt2 Test array_intersect_assoc() function : usage variations - different arrays for 'arr2' argument
12 * Passing different types of arrays to $arr2 argument and testing whether
17 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr2 argument **…
58 // arrays to be passed to $arr2 argument
59 $arrays = array (
69 // associative arrays
89 foreach($arrays as $arr2) {
104 *** Testing array_intersect_assoc() : Passing different types of arrays to $arr2 argument ***
H A Darray_unique_variation2.phpt2 Test array_unique() function : usage variations - different arrays for 'input' argument
11 * Passing different arrays to $input argument and testing whether
15 echo "*** Testing array_unique() : Passing different arrays to \$input argument ***\n";
17 /* Different heredoc strings passed as argument to arrays */
47 // arrays passed to $input argument
58 // associative arrays
84 *** Testing array_unique() : Passing different arrays to $input argument ***
H A Darray_keys_variation_004.phpt6 echo "*** Testing array_keys() on all the types other than arrays ***\n";
29 *** Testing array_keys() on all the types other than arrays ***
H A Darray_unshift_variation3.phpt11 * Testing the behavior of array_unshift() by passing different types of arrays
15 echo "*** Testing array_unshift() : different arrays for \$array argument ***\n";
20 // different arrays to be passed to $array argument
21 $arrays = array (
24 array( array(2), array(1)), // sub arrays
30 // associative arrays
48 // loop through the various elements of $arrays to test array_unshift()
50 foreach($arrays as $array) {
76 *** Testing array_unshift() : different arrays for $array argument ***
H A Darray_combine_error2.phpt13 // Testing array_combine by passing empty arrays to $keys and $values arguments
14 echo "\n-- Testing array_combine() function with empty arrays --\n";
25 // Testing array_combine with arrays having unequal number of elements
34 -- Testing array_combine() function with empty arrays --
H A Darray_unshift_variation4.phpt12 * associative arrays having different possible keys to $array argument.
41 // different variations of associative arrays to be passed to $array argument
42 $arrays = array (
47 // arrays with integer keys
52 // arrays with float keys
58 // arrays with string keys
74 // loop through the various elements of $arrays to test array_unshift()
76 foreach($arrays as $array) {
H A Darray_intersect_variation3.phpt2 Test array_intersect() function : usage variations - different arrays for 'arr1' argument
11 * Passing different types of arrays to $arr1 argument and testing whether
16 echo "*** Testing array_intersect() : Passing different types of arrays to \$arr1 argument ***\n";
48 // arrays to be passed to $arr1 argument
49 $arrays = array (
59 // associative arrays
89 foreach($arrays as $arr1) {
104 *** Testing array_intersect() : Passing different types of arrays to $arr1 argument ***
H A Darray_intersect_variation4.phpt2 Test array_intersect() function : usage variations - different arrays for 'arr2' argument
11 * Passing different types of arrays to $arr2 argument and testing whether
16 echo "*** Testing array_intersect() : Passing different types of arrays to \$arr2 argument ***\n";
57 // arrays to be passed to $arr2 argument
58 $arrays = array (
68 // associative arrays
88 foreach($arrays as $arr2) {
103 *** Testing array_intersect() : Passing different types of arrays to $arr2 argument ***
H A Darray_count_values.phpt5 $arrays = array (
20 foreach ($arrays as $item) {
H A Darray_chunk_variation6.phpt2 Test array_chunk() function : usage variations - different arrays
37 echo "\n-- Testing array_chunk() by supplying various arrays --\n";
53 -- Testing array_chunk() by supplying various arrays --
H A Darray_count_values_variation.phpt27 $arrays = array ("bobk" => "bobv", "val", 6 => "val6", $fp, $ob);
29 var_dump (@array_count_values ($arrays));
/PHP-7.4/ext/mysqli/tests/
H A Dbug62885.phpt23 Warning: mysqli_poll(): No stream arrays were passed in %sbug62885.php on line %d
25 Warning: mysqli_poll(): No stream arrays were passed in %sbug62885.php on line %d
/PHP-7.4/ext/standard/tests/file/
H A Duserstreams_002.phpt55 Warning: stream_select(): No stream arrays were passed in %s
62 Warning: stream_select(): No stream arrays were passed in %s
73 Warning: stream_select(): No stream arrays were passed in %s
82 Warning: stream_select(): No stream arrays were passed in %s
93 Warning: stream_select(): No stream arrays were passed in %s
/PHP-7.4/ext/pcre/tests/
H A Dpreg_replace_variation1.phpt2 Test preg_replace() function : variation both arguments are arrays
10 * Testing preg_replace when the regex and the replacement are both arrays.
/PHP-7.4/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 )

Completed in 37 milliseconds

12345678910>>...22