Lines Matching refs:ref
10 function r(&$ref) {
11 $ref = "Ref changed";
20 function vr($val, &$ref) {
22 $ref = "Ref changed";
25 function rv(&$ref, $val) {
27 $ref = "Ref changed";
38 function __construct($val, &$ref) {
40 $ref = "Ref changed";
47 function r(&$ref) {
48 $ref = "Ref changed";
56 function vr($val, &$ref) {
58 $ref = "Ref changed";
61 function rv(&$ref, $val) {
63 $ref = "Ref changed";
73 echo "\n ---- Pass by ref / pass by val: functions ----\n";
96 echo "\n\n ---- Pass by ref / pass by val: static method calls ----\n";
118 echo "\n\n ---- Pass by ref / pass by val: instance method calls ----\n";
147 ---- Pass by ref / pass by val: functions ----
180 ---- Pass by ref / pass by val: static method calls ----
225 ---- Pass by ref / pass by val: instance method calls ----