3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i=5; $j=8; echo "Value of i, j is:", $i," ",$j; $i+=$j; $j=$i-$j; $j*=$j; echo "Value of i, j is:", $i," ",$j; ?>
based on GhDvZ
Output for 5.6.0 - 5.6.30, hhvm-3.12.14 - 3.22.0, 7.0.0 - 7.3.0beta1
Value of i, j is:5 8Value of i, j is:13 25