3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = '//upload.arrivo.ru/tmp'; var_dump(parse_url($t));
based on f7oe4
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" }