3v4l.org

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