Home
last modified time | relevance | path

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

12345678910>>...29

/PHP-5.6/ext/standard/tests/array/
H A Darray_values.phpt16 echo "\n*** Testing array_values() on various arrays ***";
17 $arrays = array (
38 /* loop through to test array_values() with different arrays given above */
39 foreach ($arrays as $array) {
69 *** Testing array_values() on various arrays ***
H A Dshuffle_variation3.phpt2 Test shuffle() function : usage variation - arrays with diff types of values
11 * Test behaviour of shuffle() function when arrays having different
15 echo "*** Testing shuffle() : arrays with diff types of values ***\n";
17 // initialise different arrays
52 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";
65 *** Testing shuffle() : arrays with diff types of values ***
67 *** Testing shuffle() with arrays having different types of values ***
H A Darray_map_error.phpt6 * Description: Applies the callback to the elements of the given arrays
23 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --…
30 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --…
50 -- Testing array_map() function with less no. of arrays than callback function arguments --
66 -- Testing array_map() function with more no. of arrays than callback function arguments --
H A Darray_merge_recursive_variation4.phpt6 * Description: Recursively merges elements from passed arrays into one array
12 * associative arrays having different keys to $arr1 argument.
37 // different associative arrays to be passed to $arr1 argument
38 $arrays = array (
39 /*1*/ // arrays with integer keys
43 // arrays with float keys
47 // arrays with string keys
59 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
61 foreach($arrays as $arr1) {
H A Darray_merge_recursive_variation5.phpt6 * Description: Recursively merges elements from passed arrays into one array
12 * associative arrays having different values to $arr1 argument.
37 // different associative arrays to be passed to $arr1 argument
38 $arrays = array (
39 // arrays with integer values
43 // arrays with float values
47 // arrays with string values
59 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
61 foreach($arrays as $arr1) {
H A Darray_merge_variation7.phpt6 * Description: Merges elements from passed arrays into one array
11 * Pass array_merge() arrays with mixed keys to test how it attaches them to
12 * existing arrays
H A Darray_intersect_assoc_variation7.phpt13 * associative arrays having different possible values to $arr1 argument.
39 // different variations of associative arrays to be passed to $arr1 argument
40 $arrays = array (
45 // arrays with integer values
50 // arrays with float values
54 // arrays with string values
76 foreach($arrays as $arr1) {
H A Darray_intersect_assoc_variation8.phpt13 * associative arrays having different possible values to $arr2 argument.
39 // different variations of associative arrays to be passed to $arr2 argument
40 $arrays = array (
45 // arrays with integer values
50 // arrays with float values
54 // arrays with string values
76 foreach($arrays as $arr2) {
H A Darray_intersect_variation7.phpt12 * associative arrays having different possible values to $arr1 argument.
38 // different variations of associative arrays to be passed to $arr1 argument
39 $arrays = array (
44 // arrays with integer values
49 // arrays with float values
53 // arrays with string values
73 foreach($arrays as $arr1) {
H A Darray_intersect_variation8.phpt12 * associative arrays having different possible values to $arr2 argument.
38 // different variations of associative arrays to be passed to $arr2 argument
39 $arrays = array (
44 // arrays with integer values
49 // arrays with float values
53 // arrays with string values
73 foreach($arrays as $arr2) {
H A Dshuffle_variation4.phpt2 Test shuffle() function : usage variation - associative arrays with diff types of values
11 * Test behaviour of shuffle() function when associative arrays
15 echo "*** Testing shuffle() : associative arrays with diff types of values ***\n";
17 // initialise different arrays
55 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";
68 *** Testing shuffle() : associative arrays with diff types of values ***
70 *** Testing shuffle() with arrays having different types of values ***
H A Darray_reverse_variation6.phpt2 Test array_reverse() function : usage variations - two dimensional arrays for 'array' argument
11 * testing the functionality of array_reverse() by giving 2-D arrays for $array argument
16 // Initializing the 2-d arrays
25 // combination of numeric and associative arrays
29 // calling array_reverse() with various types of 2-d arrays
H A Darray_unique_variation4.phpt12 * associative arrays having different values to $input argument.
37 // associative arrays with different values
39 // arrays with integer values
43 // arrays with float values
47 // arrays with string values
H A Darray_diff_variation8.phpt2 Test array_diff() function : usage variations - associative arrays contianing different data types
12 * Test array_diff() with associative arrays containing different data types as values
39 // associative arrays with different values
41 // arrays with integer values
45 // arrays with float values
49 // arrays with string values
H A Duasort_variation11.phpt2 Test uasort() function : usage variations - different associative arrays
10 /* Testing uasort() with different associative arrays having keys as
14 echo "*** Testing uasort() : sorting different associative arrays ***\n";
51 *** Testing uasort() : sorting different associative arrays ***
H A Darray_unique_variation3.phpt12 * associative arrays having different keys to $input argument.
37 // different associative arrays to be passed to $input argument
39 /*1*/ // arrays with integer keys
43 // arrays with float keys
47 // arrays with string keys
H A Darray_merge_variation8.phpt2 Test array_merge() function : usage variations - multi-dimensional arrays
6 * Description: Merges elements from passed arrays into one array
11 * Test array_merge() with multi-dimensional arrays
H A Darray_merge_recursive_variation9.phpt6 * Description: Recursively merges elements from passed arrays into one array
12 * arrays having common key and value.
15 echo "*** Testing array_merge_recursive() : arrays with common key and value ***\n";
52 *** Testing array_merge_recursive() : arrays with common key and value ***
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 --
/PHP-5.6/ext/standard/tests/general_functions/
H A Dis_array.phpt9 echo "*** Testing is_array() on different type of arrays ***\n";
10 /* different types of arrays */
11 $arrays = array(
29 type of arrays, expected output bool(true) */
31 foreach ($arrays as $var_array ) {
89 /* unset/undefined arrays */
114 *** Testing is_array() on different type of arrays ***
/PHP-5.6/ext/standard/tests/strings/
H A Dstripslashes_variation4.phpt2 Test stripslashes() function : usage variations - double dimensional arrays
11 * Test stripslashes() with double dimensional arrays
14 echo "*** Testing stripslashes() : with double dimensional arrays ***\n";
42 *** Testing stripslashes() : with double dimensional arrays ***
/PHP-5.6/ext/oci8/tests/
H A Darray_bind_013.phpt29 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
32 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
35 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
/PHP-5.6/tests/lang/
H A DpassByReference_006.phpt2 Pass uninitialised objects and arrays by reference to test implicit initialisation.
40 echo "\n ---- Pass uninitialised arrays & objects by ref: static method call ---\n";
45 echo "\n\n---- Pass uninitialised arrays & objects by ref: constructor ---\n";
50 echo "\n ---- Pass uninitialised arrays & objects by ref: instance method call ---\n";
92 ---- Pass uninitialised arrays & objects by ref: static method call ---
129 ---- Pass uninitialised arrays & objects by ref: constructor ---
163 ---- Pass uninitialised arrays & objects by ref: instance method call ---

Completed in 25 milliseconds

12345678910>>...29