3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $utf8test = parse_url('http://kseo.wikipedia.org/wiki/위키백과:대문'); var_dump($utf8test); $utf8test2 = parse_url('http://kseo.wikipedia.org/wiki/zzzz'); var_dump($utf8test2);
Output for 4.3.0 - 7.1.0
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(18) "kseo.wikipedia.org" ["path"]=> string(25) "/wiki/위키백과:대문" } array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(18) "kseo.wikipedia.org" ["path"]=> string(10) "/wiki/zzzz" }