xref: /PHP-8.3/Zend/tests/assign_to_var_004.phpt (revision 782352c5)
1--TEST--
2complex cases of variable assignment - 004
3--FILE--
4<?php
5
6$var = "intergalactic";
7$var1 = "space";
8$var2 = &$var1;
9
10$var = $var2;
11
12var_dump($var);
13var_dump($var1);
14var_dump($var2);
15
16echo "Done\n";
17?>
18--EXPECT--
19string(5) "space"
20string(5) "space"
21string(5) "space"
22Done
23