3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url("http://yandex.ru:8080"));
based on 9AiK3
Output for 4.3.0 - 7.1.0
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(9) "yandex.ru" ["port"]=> int(8080) }