3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url("ftp://test@somedomain/"));
Output for 4.3.0 - 7.1.0
array(4) { ["scheme"]=> string(3) "ftp" ["host"]=> string(10) "somedomain" ["user"]=> string(4) "test" ["path"]=> string(1) "/" }