Home >Backend Development >PHP Tutorial >答疑啊解决方案

答疑啊解决方案

WBOY
WBOYOriginal
2016-06-13 11:37:12957browse

答疑啊
$a=1;
$b=$a+$a++;
echo $b;
$a=1;
$b=$a+$a+$a++;
echo $b;
为什么输出的都是3

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