3v4l.org

run code in 150+ 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.1.0
2 - 24 - 24 - 5