3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 3; $b = 5; $a = $a+$b; $b = $a-$b; $a = $a-$b; echo "a = $a; b = $b";
based on KaL93
Output for 4.3.0 - 7.2.0
a = 5; b = 3