Lines Matching refs:val
6 function v($val) {
7 $val = "Val changed";
20 function vr($val, &$ref) {
21 $val = "Val changed";
25 function rv(&$ref, $val) {
26 $val = "Val changed";
38 function __construct($val, &$ref) {
39 $val = "Val changed";
43 function v($val) {
44 $val = "Val changed";
56 function vr($val, &$ref) {
57 $val = "Val changed";
61 function rv(&$ref, $val) {
62 $val = "Val 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 ----