Home  >  Article  >  Backend Development  >  php中$$a,是什么意思?

php中$$a,是什么意思?

WBOY
WBOYOriginal
2016-06-23 14:26:262849browse


$a="cd";
$$a="finished";
$$a="OK";
echo $cd;
?>
输出结果为“OK”

请问$$a 是什么意思啊?这个结果是怎么回事啊,小弟是小白,往各位大牛们告知啊~~~~


回复讨论(解决方案)

http://www.php.net/manual/zh/language.variables.variable.php

十分感谢 斑竹xuzuning啊

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn