<?php
// Everything you enter here will be executed by our servers. Try it!
$str = $_SERVER['REQUEST_URI'];
echo $selection_id = substr($str, strrpos($str,'#')+1);
Warning: Undefined array key "REQUEST_URI" in /in/2nDpr on line 3
Deprecated: strrpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/2nDpr on line 4
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /in/2nDpr on line 4
Output for 8.0.0 - 8.0.30
Warning: Undefined array key "REQUEST_URI" in /in/2nDpr on line 3