3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php switch($fghfghfgh) { case 4: case 41: case 1: echo 1234; case 41: }
based on pejkg
Output for 5.1.0 - 7.2.0
Notice: Undefined variable: fghfghfgh in /in/CE3mK on line 4 Notice: Undefined variable: fghfghfgh in /in/CE3mK on line 5 Notice: Undefined variable: fghfghfgh in /in/CE3mK on line 6 Notice: Undefined variable: fghfghfgh in /in/CE3mK on line 8
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: fghfghfgh in /in/CE3mK on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: fghfghfgh in /in/CE3mK on line 3