3v4l.org

run code in 200+ 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 - 7.1.10
Notice: Undefined index: id in /in/d0F5E on line 2
Output for 4.3.0 - 5.2.17
Notice: Undefined index: id in /in/d0F5E on line 2