Lines Matching refs:of
6 Description: Dumps a string representation of an internal zend value
14 /* function to dump reference count of global variable,$global_var
18 echo "\n-- Value of local variable inside dump_globalvar() --\n";
20 echo "\n-- Value of global variable inside dump_globalvar() --\n";
23 /* dump value and reference count of $global_var using debug_zval_dump() */
24 echo "\n-- Value of global variable, before calling dump_globalvar() --\n";
27 /* calling function dump_globalvar() to check the reference count of local
31 /* dump value and reference count of $global_var after exiting function
33 expected: reference count of $global_var should remain the same as
35 echo "\n-- Value of global variable, after exiting dump_globalvar() --\n";
40 /* dump value and reference count of $first_var */
41 echo "\n-- Value of \$first_var: --\n";
47 echo "\n-- Value of \$ref_first_var --\n";
49 echo "\n-- Value of \$first_var --\n";
54 /* dump value and reference count of $first_var, $ref_first_var
56 echo "\n-- Value of \$ref_first_var --\n";
58 echo "\n-- Value of \$first_var --\n";
61 echo "\n--- Variation 3: multiple references of variables ---\n";
65 echo "\n-- Value of \$var_1: (before referencing) --\n";
67 echo "\n-- Value of \$var_2: (referencing var_1) --\n";
69 echo "\n-- Value of \$var_3: (referencing var_2) --\n";
74 echo "\n-- Value of \$var_3: (after unsetting var_3) --\n";
76 echo "\n-- Value of \$var_2: --\n";
78 echo "\n-- Value of \$var_3: --\n";
83 echo "\n-- Value of \$var_1: (after unsetting variable_1) --\n";
85 echo "\n-- Value of \$var_2: --\n";
126 -- Value of global variable, before calling dump_globalvar() --
129 -- Value of local variable inside dump_globalvar() --
132 -- Value of global variable inside dump_globalvar() --
135 -- Value of global variable, after exiting dump_globalvar() --
140 -- Value of $first_var: --
143 -- Value of $ref_first_var --
146 -- Value of $first_var --
149 -- Value of $ref_first_var --
154 -- Value of $first_var --
157 --- Variation 3: multiple references of variables ---
159 -- Value of $var_1: (before referencing) --
162 -- Value of $var_2: (referencing var_1) --
165 -- Value of $var_3: (referencing var_2) --
168 -- Value of $var_3: (after unsetting var_3) --
173 -- Value of $var_2: --
176 -- Value of $var_3: --
179 -- Value of $var_1: (after unsetting variable_1) --
184 -- Value of $var_2: --