3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url("/search.php?q=something+or+other"));
Output for 4.3.0 - 7.1.0
array(2) { ["path"]=> string(11) "/search.php" ["query"]=> string(20) "q=something+or+other" }