3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = $b = 2; echo $a.' - '.$b; $a = 4; echo $a.' - '.$b; $b = 5; echo $a.' - '.$b;
Output for 4.3.0 - 7.2.0
2 - 24 - 24 - 5