3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('//upload.arrivo.ru/tmp'));
Output for 5.4.7 - 7.2.0
array(2) { ["host"]=> string(16) "upload.arrivo.ru" ["path"]=> string(4) "/tmp" }
Output for 4.3.0 - 5.4.6
array(1) { ["path"]=> string(22) "//upload.arrivo.ru/tmp" }