3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $str = $_SERVER['QUERY_STRING']; echo $selection_id = substr($str, strrpos($str,'#')+1);
Output for 5.3.0 - 7.2.0
Notice: Undefined index: QUERY_STRING in /in/D8TLD on line 3
Output for 4.3.0 - 5.2.17
Notice: Undefined index: QUERY_STRING in /in/D8TLD on line 3