/** * PHP $$ 输出变量字符串对应变量的值 * * @param * @arrange 512-笔记网: jb51.cc **/ <?PHP $var1 = 'nameOfVariable'; $nameOfVariable = 'This is the value I want!'; echo $$var1; /*** 来自编程之家 jb51.cc(jb51.cc) ***/