3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = '0001000'; switch ($x) { case '1000': echo 'nope '; case '0001000': echo 'sorry '; default: echo 'PHP sucks'; } ?>
Output for 4.3.0 - 7.1.0
nope sorry PHP sucks