php可变变量

之前的知识盲点,记一下。

示例:

<?php
$a="b";
$$a="c";
echo $b;     //c
?>
posted @ 2013-03-12 14:02  zephor  阅读(274)  评论(0)    收藏  举报