3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_replace("/^//", "", $_SERVER['PATH_INFO']);
based on UKeY9
Output for 5.3.0 - 7.2.0
Notice: Undefined index: PATH_INFO in /in/mHbJJ on line 2 Warning: preg_replace(): Unknown modifier '/' in /in/mHbJJ on line 2
Output for 4.3.11 - 5.2.17
Notice: Undefined index: PATH_INFO in /in/mHbJJ on line 2 Warning: preg_replace(): Unknown modifier '/' in /in/mHbJJ on line 2
Output for 4.3.0 - 4.3.10
Notice: Undefined index: PATH_INFO in /in/mHbJJ on line 2 Warning: Unknown modifier '/' in /in/mHbJJ on line 2