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

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

WBOY
Release: 2016-06-23 14:26:26
Original
2866 people have browsed it


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

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


回复讨论(解决方案)

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

十分感谢 斑竹xuzuning啊

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template