1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/Zend/tests/bug35470.phpt

12 lines
209 B
PHP
Executable File

--TEST--
Bug #35470 (Assigning global using variable name from array doesn't function)
--FILE--
<?php
$x = array("test", "55");
global ${$x[0]};
${$x[0]} = $x[1];
echo "Test: $test\n";;
?>
--EXPECT--
Test: 55