Home > Backend Development > PHP Tutorial > 此代码运作后为何会输出5

此代码运作后为何会输出5

WBOY
Release: 2016-06-13 12:36:30
Original
850 people have browsed it

此代码运行后为何会输出5?

<br />
$a = 1;<br />
$b = &$a;<br />
$c = (++$a) + ($a++);<br />
var_dump($c);<br />
Copy after login

为何会输出5?

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