3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url("http://localhost/Ö"));
based on 5hXSH
Output for 5.6.0 - 7.3.0alpha1
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(9) "localhost" ["path"]=> string(3) "/Ö" }