xref: /PHP-7.0/Zend/tests/assign_to_var_004.phpt (revision 6204a10e)
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--EXPECTF--
19string(5) "space"
20string(5) "space"
21string(5) "space"
22Done
23