xref: /PHP-5.3/Zend/tests/bug35470.phpt (revision 610c7fbe)
1--TEST--
2Bug #35470 (Assigning global using variable name from array doesn't function)
3--FILE--
4<?php
5$x = array("test", "55");
6global ${$x[0]};
7${$x[0]} = $x[1];
8echo "Test: $test\n";;
9?>
10--EXPECT--
11Test: 55
12