Lines Matching refs:variable
6 echo "--- Variation 1: global variable inside a function ---\n";
7 $global_var = 10; //declaring global variable
9 /* function to dump reference count of global variable,$global_var
10 and local variable,$local_var */
13 echo "\n-- Value of local variable inside dump_globalvar() --\n";
15 echo "\n-- Value of global variable inside dump_globalvar() --\n";
19 echo "\n-- Value of global variable, before calling dump_globalvar() --\n";
30 echo "\n-- Value of global variable, after exiting dump_globalvar() --\n";
33 echo "\n--- Variation 2: one variable references another ---\n";
84 /* unset a variable */
93 /* unset variable */
96 /* undefined variable */
118 --- Variation 1: global variable inside a function ---
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() --
132 --- Variation 2: one variable references another ---
145 Warning: Undefined variable $ref_first_var in %s on line %d
164 Warning: Undefined variable $var_3 in %s on line %d
175 Warning: Undefined variable $var_1 in %s on line %d