xref: /PHP-5.3/Zend/tests/assign_to_var_002.phpt (revision 6204a10e)
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