3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_GET['id'] ==3; if(isset($_GET['id'])) { switch($_GET['id']) { case 1: echo "Nummer 1."; break; case 2: echo "Nummer 2."; break; case 3: echo "Nummer 3."; break; } } ?>
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: id in /in/d0F5E on line 2
Output for hhvm-3.10.0
Notice: Undefined index: id in /in/d0F5E on line 3
Output for 4.3.0 - 5.2.17
Notice: Undefined index: id in /in/d0F5E on line 2