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

php中$$a,是什么意思?该怎么处理

WBOY
WBOYOriginal
2016-06-13 11:39:191313browse

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

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

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

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
Previous article:PHP验证码图案没法显示Next article:PHP门类强制转换