Home
last modified time | relevance | path

Searched refs:reference (Results 76 – 100 of 247) sorted by last modified time

12345678910

/PHP-5.5/ext/standard/tests/array/
H A Darsort_variation4.phpt2 Test arsort() function : usage variations - sort reference variables
12 * Testing arsort() by providing reference variable array with following flag values
27 echo "\n-- Testing arsort() by supplying reference variable array, 'flag' value is defualt --\n";
32 echo "\n-- Testing arsort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n";
37 echo "\n-- Testing arsort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n";
47 -- Testing arsort() by supplying reference variable array, 'flag' value is defualt --
58 -- Testing arsort() by supplying reference variable array, 'flag' = SORT_REGULAR --
69 -- Testing arsort() by supplying reference variable array, 'flag' = SORT_NUMERIC --
H A Dasort_variation4.phpt2 Test asort() function : usage variations - sort reference variables
12 * Testing asort() by providing reference variable array with following flag values
27 echo "\n-- Testing asort() by supplying reference variable array, 'flag' value is defualt --\n";
32 echo "\n-- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n";
37 echo "\n-- Testing asort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n";
47 -- Testing asort() by supplying reference variable array, 'flag' value is defualt --
58 -- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR --
69 -- Testing asort() by supplying reference variable array, 'flag' = SORT_NUMERIC --
H A Darray_unique_variation6.phpt2 Test array_unique() function : usage variations - array with reference variables
12 * array having reference variables as values.
15 echo "*** Testing array_unique() : array with reference variables for \$input argument ***\n";
22 // input array containing elements as reference variables
37 *** Testing array_unique() : array with reference variables for $input argument ***
H A Darray_values_variation6.phpt13 * 2. Passed an array by reference
H A Darray_shift_variation5.phpt38 Strict Standards: Only variables should be passed by reference in %s on line %d
40 Strict Standards: Only variables should be passed by reference in %s on line %d
H A Darray_shift_variation8.phpt15 * and not the element itself, so your reference will be lost.
16 * The solution is to reference the first element before removing it with array_shift():
45 Strict Standards: Only variables should be assigned by reference in %s on line %d
H A Darray_shuffle_basic.phpt37 echo "*** testing pass by reference \n";
98 *** testing pass by reference
H A Darray_slice_variation9.phpt13 * 2. $input argument is passed by reference
H A Darray_splice_variation1.phpt11 echo "test behaviour when input array is in a reference set\n";
21 * For reach we check a plain value, a reference value with integer key and a
22 * reference value with a string key.
38 echo "Test behaviour of replacement which is part of reference set \n";
49 test behaviour when input array is in a reference set
102 Test behaviour of replacement which is part of reference set
H A Darray_sum_variation5.phpt2 Test array_sum() function : usage variations - array with reference variables as elements
11 * Testing array_sum() with 'input' having reference variables as elements
14 echo "*** Testing array_sum() : array with elements as reference ***\n";
21 // input array containing elements as reference variables
35 *** Testing array_sum() : array with elements as reference ***
H A Darray_next_error1.phpt12 Strict Standards: Only variables should be passed by reference in %s on line %d
H A Darray_next_error2.phpt12 Fatal error: Only variables can be passed by reference in %s on line %d
H A Darray_pad_variation3.phpt42 // get a reference variable
44 $reference = &$value;
104 // reference variable
105 /*32*/ $reference
H A Darray_pad_variation4.phpt22 // initialize $pad_value with reference variable
H A Darray_map_variation19.phpt11 * Test array_map() with a pass-by-value callback forced to behave as a pass-by-reference function.
H A Darray_map_variation8.phpt11 * Test array_map() by passing array having reference values for $arr1 argument
26 // reference variables
32 // array containing reference variables
H A Darray_merge_variation9.phpt12 * 2. Passed an array as the first argument and a reference to that array as the second.
H A Darray_merge_recursive_variation7.phpt2 Test array_merge_recursive() function : usage variations - array with reference variables
12 * array having reference variables.
15 echo "*** Testing array_merge_recursive() : array with reference variables for \$arr1 argument ***\…
22 // input array containing elements as reference variables
44 *** Testing array_merge_recursive() : array with reference variables for $arr1 argument ***
H A Darray_intersect_uassoc_variation8.phpt20 // re-assign reference variable to different value
H A Darray_key_exists_variation4.phpt19 echo "\n-- \$search is a reference to \$array --\n";
29 -- $search is a reference to $array --
H A Darray_filter_variation6.phpt11 * Passing 'input' array which contains elements as reference to other data
H A Darray_filter_variation7.phpt11 * Passing different anonymous callback functions with passed by value and reference arguments
22 // anonymous callback function with reference
23 echo "Anonymous callback function with reference parameter\n";
47 Anonymous callback function with reference parameter
H A Darray_fill_keys_variation2.phpt11 /* Testing with reference types for the arguments */
29 echo "\n-- Testing array_fill_keys() function with reference value --\n";
33 echo "\n-- Testing array_fill_keys() function with reference keys --\n";
41 echo "\n-- Testing array_fill_keys() function with reference array input --\n";
52 -- Testing array_fill_keys() function with reference value --
60 -- Testing array_fill_keys() function with reference keys --
74 -- Testing array_fill_keys() function with reference array input --
H A Darray_diff_uassoc_variation13.phpt22 // re-assign reference variable to different value
H A Darray_change_key_case_variation7.phpt13 * 2. Passed an argument by reference
20 echo "\n-- \$input argument is a reference to array --\n";
35 -- $input argument is a reference to array --

Completed in 31 milliseconds

12345678910