3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(parse_url('http://username:password@hostname/path?arg=value#anchor'));
based on Uv4cq
Output for 4.3.0 - 7.2.0
Array ( [scheme] => http [host] => hostname [user] => username [pass] => password [path] => /path [query] => arg=value [fragment] => anchor )