Home
last modified time | relevance | path

Searched refs:arrays (Results 26 – 50 of 434) sorted by relevance

12345678910>>...18

/php-src/ext/standard/tests/array/
H A Darray_intersect_assoc_variation7.phpt7 * associative arrays having different possible values to $arr1 argument.
33 // different variations of associative arrays to be passed to $arr1 argument
34 $arrays = array (
39 // arrays with integer values
44 // arrays with float values
48 // arrays with string values
68 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
70 foreach($arrays as $arr1) {
H A Darray_intersect_assoc_variation8.phpt7 * associative arrays having different possible values to $arr2 argument.
33 // different variations of associative arrays to be passed to $arr2 argument
34 $arrays = array (
39 // arrays with integer values
44 // arrays with float values
48 // arrays with string values
68 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
70 foreach($arrays as $arr2) {
H A Darray_intersect_variation7.phpt7 * associative arrays having different possible values to $arr1 argument.
33 // different variations of associative arrays to be passed to $arr1 argument
34 $arrays = array (
39 // arrays with integer values
44 // arrays with float values
48 // arrays with string values
66 // loop through each sub-array within $arrays to check the behavior of array_intersect()
68 foreach($arrays as $arr1) {
H A Darray_intersect_variation8.phpt7 * associative arrays having different possible values to $arr2 argument.
33 // different variations of associative arrays to be passed to $arr2 argument
34 $arrays = array (
39 // arrays with integer values
44 // arrays with float values
48 // arrays with string values
66 // loop through each sub-array within $arrays to check the behavior of array_intersect()
68 foreach($arrays as $arr2) {
H A Darray_values.phpt11 echo "\n*** Testing array_values() on various arrays ***";
12 $arrays = array (
33 /* loop through to test array_values() with different arrays given above */
34 foreach ($arrays as $array) {
64 *** Testing array_values() on various arrays ***
H A Duasort_variation11.phpt2 Test uasort() function : usage variations - different associative arrays
5 /* Testing uasort() with different associative arrays having keys as
9 echo "*** Testing uasort() : sorting different associative arrays ***\n";
39 *** Testing uasort() : sorting different associative arrays ***
H A Darray_map_variation5.phpt36 $arrays = array (
41 // arrays with integer values
46 // arrays with float values
50 // arrays with string values
64 // loop through the various elements of $arrays to test array_map()
66 foreach($arrays as $arr1) {
H A Darray_diff_variation9.phpt2 Test array_diff() function : usage variations - multidimensional arrays
6 * Test how array_diff() compares multidimensional arrays
16 echo "-- Compare two 2-D arrays --\n";
20 echo "\n-- Compare subarrays from two 2-D arrays --\n";
35 -- Compare two 2-D arrays --
57 -- Compare subarrays from two 2-D arrays --
H A Darray_map_error.phpt18 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --…
29 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --…
42 -- Testing array_map() function with less no. of arrays than callback function arguments --
45 -- Testing array_map() function with more no. of arrays than callback function arguments --
H A Darray_intersect_assoc_variation3.phpt2 Test array_intersect_assoc() function : usage variations - different arrays for 'arr1' argument
6 * Passing different types of arrays to $arr1 argument and testing whether
11 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr1 argument **…
43 // arrays to be passed to $arr1 argument
44 $arrays = array (
54 // associative arrays
82 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
84 foreach($arrays as $arr1) {
99 *** Testing array_intersect_assoc() : Passing different types of arrays to $arr1 argument ***
H A Dend_64bit.phpt11 $arrays = array (
28 /* loop through $arrays to print the last element of each sub-array */
29 echo "*** Testing end() on different arrays ***\n";
31 foreach ($arrays as $sub_array){
39 /* checking for end() on sub-arrays */
40 echo "\n*** Testing end() with sub-arrays ***\n";
109 *** Testing end() on different arrays ***
158 *** Testing end() with sub-arrays ***
H A Dshuffle_variation3.phpt2 Test shuffle() function : usage variation - arrays with diff types of values
6 * Test behaviour of shuffle() function when arrays having different
10 echo "*** Testing shuffle() : arrays with diff types of values ***\n";
12 // initialise different arrays
47 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";
60 *** Testing shuffle() : arrays with diff types of values ***
62 *** Testing shuffle() with arrays having different types of values ***
H A Dshuffle_variation4.phpt2 Test shuffle() function : usage variation - associative arrays with diff types of values
6 * Test behaviour of shuffle() function when associative arrays
10 echo "*** Testing shuffle() : associative arrays with diff types of values ***\n";
12 // initialise different arrays
50 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";
63 *** Testing shuffle() : associative arrays with diff types of values ***
65 *** Testing shuffle() with arrays having different types of values ***
H A Darray_diff_variation8.phpt2 Test array_diff() function : usage variations - associative arrays containing different data types
6 * Test array_diff() with associative arrays containing different data types as values
33 // associative arrays with different values
35 // arrays with integer values
39 // arrays with float values
43 // arrays with string values
H A Darray_reverse_variation6.phpt2 Test array_reverse() function : usage variations - two dimensional arrays for 'array' argument
6 * testing the functionality of array_reverse() by giving 2-D arrays for $array argument
11 // Initializing the 2-d arrays
20 // combination of numeric and associative arrays
24 // calling array_reverse() with various types of 2-d arrays
H A Darray_intersect_assoc_variation4.phpt2 Test array_intersect_assoc() function : usage variations - different arrays for 'arr2' argument
6 * Passing different types of arrays to $arr2 argument and testing whether
11 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr2 argument **…
52 // arrays to be passed to $arr2 argument
53 $arrays = array (
63 // associative arrays
81 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc()
83 foreach($arrays as $arr2) {
98 *** Testing array_intersect_assoc() : Passing different types of arrays to $arr2 argument ***
H A Dend.phpt11 $arrays = array (
28 /* loop through $arrays to print the last element of each sub-array */
29 echo "*** Testing end() on different arrays ***\n";
31 foreach ($arrays as $sub_array){
39 /* checking for end() on sub-arrays */
40 echo "\n*** Testing end() with sub-arrays ***\n";
114 *** Testing end() on different arrays ***
163 *** Testing end() with sub-arrays ***
H A Darray_unshift_variation6.phpt2 Test array_unshift() function : usage variations - two dimensional arrays for 'array' argument
7 * arrays and also sub-arrays within the two-dimensional array for $array argument.
11 echo "*** Testing array_unshift() : two dimensional arrays for \$array argument ***\n";
25 // combination of numeric and associative arrays
72 *** 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…
6 …* Testing arsort() by providing arrays with key values for $array argument with following flag va…
13 // list of arrays with/without key values
25 echo "\n-- Testing arsort() by supplying various arrays with key values --\n";
27 // loop through to test arsort() with different arrays,
49 -- 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…
6 …* Testing asort() by providing arrays with key values for $array argument with following flag val…
13 // list of arrays with/without key values
25 echo "\n-- Testing asort() by supplying various arrays with key values --\n";
27 // loop through to test asort() with different arrays,
49 -- Testing asort() by supplying various arrays with key values --
/php-src/Zend/tests/list/
H A Dlist_012.phpt2 Disallow empty elements in normal arrays
10 Fatal error: Cannot use empty array elements in arrays in %s on line %d
H A Dlist_013.phpt2 Disallow tail empty elements in normal arrays
10 Fatal error: Cannot use empty array elements in arrays in %s on line %d
/php-src/Zend/tests/arg_unpack/
H A Dinternal.phpt6 $arrays = [
11 var_dump(array_map(null, ...$arrays));
/php-src/Zend/tests/array_unpack/
H A Dgh9769.phpt2 Unpacking arrays in constant expression
12 Fatal error: Uncaught Error: Only arrays can be unpacked in constant expression in %sgh9769.php:5
/php-src/ext/standard/tests/strings/
H A Dstripslashes_variation4.phpt2 Test stripslashes() function : usage variations - double dimensional arrays
6 * Test stripslashes() with double dimensional arrays
9 echo "*** Testing stripslashes() : with double dimensional arrays ***\n";
37 *** Testing stripslashes() : with double dimensional arrays ***

Completed in 30 milliseconds

12345678910>>...18