3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH | PHP_URL_QUERY));
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: REQUEST_URI in /in/ZIgZt on line 2
Output for 5.1.2 - 5.4.45
Output for 4.3.0 - 5.1.1
<br /> <b>Warning</b>: parse_url() expects exactly 1 parameter, 2 given in <b>/in/ZIgZt</b> on line <b>2</b><br />