3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo str_replace( basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']);
based on JXnoq
Output for 5.2.3 - 7.1.0
/in/
Output for 4.3.0 - 5.2.2