Lines Matching refs:value
279 * Following calls will restore the previous value of a variable.
285 // increment the value of the static. this change is in function context
288 echo "value of static_var before unset: $static_var\n";
295 echo "value of static_var after unset: $static_var\n";
300 // assign a value to static var
302 echo "value of static_var after new assignment: $static_var\n";
314 * will retain the same value as before unset() was called.
323 // set the value ot a new one
324 $ref_val = "new value by ref";
327 $value = "value";
328 var_dump($value);
329 test_unset2($value);
330 var_dump($value);
337 * will retain the same value as before unset() was called.
1292 value of static_var before unset: 1
1297 value of static_var after unset:
1300 value of static_var after new assignment: 20
1301 value of static_var before unset: 2
1306 value of static_var after unset:
1309 value of static_var after new assignment: 20
1310 value of static_var before unset: 3
1315 value of static_var after unset:
1318 value of static_var after new assignment: 20
1321 string(5) "value"
1324 string(5) "value"