3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v = 4; $x = null; switch ($v) { default: $x = 1; break; default: $x = 2; break; } var_dump($x);
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.6.28
int(2)