3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 1; $a += 2; echo $a."\n"; $a *= 2; echo $a."\n"; $a -= 1; echo $a."\n"; $a /= 2; echo $a."\n";
based on if9cs
Output for 4.3.0 - 7.2.0
3 6 5 2.5