1 2 3 4 5 6 7
<?php $tab = array("one", "two", "three"); $a = "tab"; print_r($tab);echo"<br>"; $$a ="four"; print_r($tab) ?>
Array ( [0] => one [1] => two [2] => three ) <br>four