3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'tesst'; switch('test') { default: echo 'nope'; case $a: echo 'a';break; }
based on 8Vbrq
Output for 4.3.0 - 7.1.0
nopea