xref: /PHP-8.0/Zend/tests/varvars_by_ref.phpt (revision 390900cb)
1--TEST--
2Accessing variable variables using referenced names
3--FILE--
4<?php
5
6$name = 'var';
7$ref =& $name;
8
9$$name = 42;
10var_dump(isset($$name));
11unset($$name);
12var_dump(isset($$name));
13
14?>
15--EXPECT--
16bool(true)
17bool(false)
18