php $$ 输出变量字符串对应变量的值
php $$ 输出变量字符串对应变量的值 ```{.php}lt;?php $var1 = #39;nameOfVariable#39;; $nameOfVariable = #39;This is the value I want!#39;; echo $$var1; ?gt;```输出:```This is the value I want!```
php;toolbar:false;"><?php $var1 = 'nameOfVariable'; $nameOfVariable = 'This is the value I want!'; echo $$var1; ?>
输出:
This is the value I want!
精彩图集
精彩文章