Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/PHP-7.0/tests/lang/
H A DpassByReference_010.phpt2 Passing assignments by reference
11 echo "\n\n---> Pass constant assignment by reference:\n";
15 echo "\n\n---> Pass variable assignment by reference:\n";
21 echo "\n\n---> Pass reference assignment by reference:\n";
27 echo "\n\n---> Pass concat assignment by reference:\n";
38 ---> Pass constant assignment by reference:
40 Notice: Only variables should be passed by reference in %s on line 9
45 ---> Pass variable assignment by reference:
47 Notice: Only variables should be passed by reference in %s on line 15
52 ---> Pass reference assignment by reference:
[all …]
H A DreturnByReference.003.phpt2 Returning a reference from a function
17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
41 ---> 1. Trying to assign by reference the return value of a function that returns by value:
43 Notice: Only variables should be assigned by reference in %s on line 17
47 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
49 Notice: Only variable references should be returned by reference in %s on line 7
53 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.004.phpt2 Returning a reference from a static method
19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
43 ---> 1. Trying to assign by reference the return value of a function that returns by value:
45 Notice: Only variables should be assigned by reference in %s on line 19
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
51 Notice: Only variable references should be returned by reference in %s on line 8
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt2 Returning a reference from a method
20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
44 ---> 1. Trying to assign by reference the return value of a function that returns by value:
46 Notice: Only variables should be assigned by reference in %s on line 20
50 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
52 Notice: Only variable references should be returned by reference in %s on line 8
56 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.009.phpt24 echo "\n---> 1. Return a variable by reference -> No warning:\n";
28 echo "\n---> 2. Return a value by reference -> Warning:\n";
33 ---> 1. Return a variable by reference -> No warning:
36 ---> 2. Return a value by reference -> Warning:
38 Notice: Only variable references should be returned by reference in %s on line %d
H A DreturnByReference.006.phpt2 Returning a reference from a function via another function
23 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
30 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
37 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
46 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
48 Notice: Only variable references should be returned by reference in %s on line 15
52 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
54 Notice: Only variable references should be returned by reference in %s on line 7
58 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DpassByReference_007.phpt2 Pass function and method calls by reference and by value.
50 echo "Pass a function call that returns a reference:\n";
61 echo "Pass a static method call that returns a reference:\n";
73 echo "Pass a method call that returns a reference:\n";
82 Notice: Only variables should be passed by reference in %s on line 44
85 Pass a function call that returns a reference:
91 Notice: Only variables should be passed by reference in %s on line 55
94 Pass a static method call that returns a reference:
100 Notice: Only variables should be passed by reference in %s on line 67
103 Pass a method call that returns a reference:
H A DreturnByReference.007.phpt2 Returning a reference from a static method via another static method
25 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
32 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
39 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
49 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
51 Notice: Only variable references should be returned by reference in %s on line 16
55 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
57 Notice: Only variable references should be returned by reference in %s on line 8
61 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DreturnByReference.008.phpt2 Returning a reference from a non-static method via another non-static method
26 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
33 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi…
40 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
50 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
52 Notice: Only variable references should be returned by reference in %s on line 16
56 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
58 Notice: Only variable references should be returned by reference in %s on line 8
62 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DpassByReference_012.phpt2 Test pass by reference semantics
9 // "Only variables should be passed by reference in %s on line %d"
20 Notice: Only variables should be passed by reference in %s on line %d
23 Notice: Only variables should be passed by reference in %s on line %d
/PHP-7.0/ext/reflection/tests/
H A DReflectionParameter_canBePassedByValue.phpt12 echo "Is passed by reference: ", $parameter->isPassedByReference()?"yes":"no", "\n";
41 Is passed by reference: yes
45 Is passed by reference: yes
49 Is passed by reference: yes
53 Is passed by reference: yes
59 Is passed by reference: yes
63 Is passed by reference: no
69 Is passed by reference: yes
73 Is passed by reference: no
H A DReflectionParameter_002.phpt26 echo "This param is passed by reference\n";
28 echo "This param is not passed by reference\n";
41 echo "This param is passed by reference\n";
43 echo "This param is not passed by reference\n";
58 This param is passed by reference
64 This param is not passed by reference
72 This param is not passed by reference
78 This param is passed by reference
/PHP-7.0/ext/spl/tests/
H A Dheap_009.phpt2 SPL: SplHeap and friends, throw: An iterator cannot be used with foreach by reference
50 An iterator cannot be used with foreach by reference
51 An iterator cannot be used with foreach by reference
52 An iterator cannot be used with foreach by reference
53 An iterator cannot be used with foreach by reference
54 An iterator cannot be used with foreach by reference
55 An iterator cannot be used with foreach by reference
/PHP-7.0/ext/standard/tests/array/
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_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 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 Dsort_variation4.phpt2 Test sort() function : usage variations - sort reference values
12 * Testing sort() by providing reference variable array with following flag values
27 echo "\n-- Testing sort() by supplying reference variable array, 'flag' value is defualt --\n";
32 echo "\n-- Testing sort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n";
37 echo "\n-- Testing sort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n";
47 -- Testing sort() by supplying reference variable array, 'flag' value is defualt --
58 -- Testing sort() by supplying reference variable array, 'flag' = SORT_REGULAR --
69 -- Testing sort() by supplying reference variable array, 'flag' = SORT_NUMERIC --
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_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_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 Duasort_variation10.phpt2 Test uasort() function : usage variations - sort array with reference variables
11 * Testing uasort() with 'array_arg' containing different reference variables
35 echo "*** Testing uasort() : 'array_arg' with elements as reference ***\n";
43 // array_args an array containing elements with reference variables
59 *** Testing uasort() : 'array_arg' with elements as reference ***
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_references.phpt34 print "reference, one level...\n";
119 print "reference, simple object w reference...\n";
136 print "reference, simple object w reference, change after bind...\n";
252 reference, one level...
257 reference, two levels...
264 reference, $GLOBALS...
269 reference, same target...
272 reference, simple object...
275 reference, simple object w reference...
278 reference, simple object w reference, change after bind...
[all …]
/PHP-7.0/Zend/tests/arg_unpack/
H A Dtraversable_with_by_ref_parameters.phpt2 Traversables cannot be unpacked into by-reference parameters
27 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
29 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
31 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
/PHP-7.0/Zend/tests/
H A Dbug44660.phpt2 Bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning)
17 echo "\n--> reference assignment:";
20 echo "\n--> reference assignment:";
39 --> reference assignment:
42 --> reference assignment:

Completed in 69 milliseconds

12345678910>>...13