3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = &$a; $c = (++$a)+(++$a)+(++$a); var_dump($c); $x = 1; //$y = &$x; $z = (++$x)+(++$x)+(++$x); var_dump($z);
Output for 7.0.0 - 7.2.0
int(9) int(9)
Output for 5.3.20 - 5.6.28
int(10) int(9)