![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #35470 (Assigning global using variable name from array doesn't function) ! 3: --FILE-- ! 4: <?php ! 5: $x = array("test", "55"); ! 6: global ${$x[0]}; ! 7: ${$x[0]} = $x[1]; ! 8: echo "Test: $test\n";; ! 9: ?> ! 10: --EXPECT-- ! 11: Test: 55