3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php { $a = 5; echo ++$a.$a++; } echo "\n"; { $a = 5; $b = &$a; echo ++$a.$b++; } echo "\n"; { $a = 5; echo ++$a.$a++; }
Output for hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.0rc3
66 66 66
Output for 4.3.0 - 5.6.38
66 76 76