Rumah >pembangunan bahagian belakang >tutorial php > 初学者有关问题 用变量值做变量名
菜鸟问题 用变量值做变量名
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> <?php $a=1; $b=2; $c="LL".$a.$b; $$c="asdf"; echo $LL12; ?>
$a=1; $b=2; eval("\$LL$a$b=\"asdf\";"); echo $LL12; <div class="clear"> </div>