Lines Matching refs:of
9 /* function to dump reference count of global variable,$global_var
13 echo "\n-- Value of local variable inside dump_globalvar() --\n";
15 echo "\n-- Value of global variable inside dump_globalvar() --\n";
18 /* dump value and reference count of $global_var using debug_zval_dump() */
19 echo "\n-- Value of global variable, before calling dump_globalvar() --\n";
22 /* calling function dump_globalvar() to check the reference count of local
26 /* dump value and reference count of $global_var after exiting function
28 expected: reference count of $global_var should remain the same as
30 echo "\n-- Value of global variable, after exiting dump_globalvar() --\n";
35 /* dump value and reference count of $first_var */
36 echo "\n-- Value of \$first_var: --\n";
42 echo "\n-- Value of \$ref_first_var --\n";
44 echo "\n-- Value of \$first_var --\n";
49 /* dump value and reference count of $first_var, $ref_first_var
51 echo "\n-- Value of \$ref_first_var --\n";
53 echo "\n-- Value of \$first_var --\n";
56 echo "\n--- Variation 3: multiple references of variables ---\n";
60 echo "\n-- Value of \$var_1: (before referencing) --\n";
62 echo "\n-- Value of \$var_2: (referencing var_1) --\n";
64 echo "\n-- Value of \$var_3: (referencing var_2) --\n";
69 echo "\n-- Value of \$var_3: (after unsetting var_3) --\n";
71 echo "\n-- Value of \$var_2: --\n";
73 echo "\n-- Value of \$var_3: --\n";
78 echo "\n-- Value of \$var_1: (after unsetting variable_1) --\n";
80 echo "\n-- Value of \$var_2: --\n";
120 -- Value of global variable, before calling dump_globalvar() --
123 -- Value of local variable inside dump_globalvar() --
126 -- Value of global variable inside dump_globalvar() --
129 -- Value of global variable, after exiting dump_globalvar() --
134 -- Value of $first_var: --
137 -- Value of $ref_first_var --
140 -- Value of $first_var --
143 -- Value of $ref_first_var --
148 -- Value of $first_var --
151 --- Variation 3: multiple references of variables ---
153 -- Value of $var_1: (before referencing) --
156 -- Value of $var_2: (referencing var_1) --
159 -- Value of $var_3: (referencing var_2) --
162 -- Value of $var_3: (after unsetting var_3) --
167 -- Value of $var_2: --
170 -- Value of $var_3: --
173 -- Value of $var_1: (after unsetting variable_1) --
178 -- Value of $var_2: --