$a = "cd";
$$a = "finished";
$aa = "ok";
echo $cd;
?>
输出:
0> php abc.php
finished
$$a = "finished";
$aa = "ok";
echo $cd;
?>
输出:
0> php abc.php
finished
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/1953/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
评论列表