1--TEST--
2complex cases of variable assignment - 002
3--FILE--
4<?php
5
6$var = "intergalactic";
7$var1 = &$var;
8$var = $var[5];
9
10var_dump($var);
11var_dump($var1);
12
13echo "Done\n";
14?>
15--EXPECTF--
16string(1) "g"
17string(1) "g"
18Done
19