3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php { $a = 5; echo ++$a.$a++; } echo "\n"; { $a = 5; $b = &$a; echo ++$a.$b++; } echo "\n"; { $c = 5; echo ++$c.$c++; }
Output for hhvm-3.12.0, 7.0.0 - 7.1.0
66 66 66
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.6.28
66 76 66