3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 0; switch(++$a) { case 3: echo 3; break; case 2: echo 2; break; case 1: echo 1; break; default: echo "No match!"; break; }
Output for 4.3.0 - 7.1.0
1