3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input=$_GET["input"]; switch($input) { case 1: case 2: case 3: case 4: echo "Inputan kurang dari 5 "; case 5: echo "Inputan adalah 5 "; break; default: echo "Inputan Salah "; }
Output for 5.3.0 - 7.1.0
Notice: Undefined index: input in /in/COWY6 on line 2 Inputan Salah
Output for 4.3.0 - 5.2.17
Notice: Undefined index: input in /in/COWY6 on line 2 Inputan Salah