3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('http://www.example.com/public/#zoeken/commentaren/#R502'));
Output for 7.1.7
array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(15) "www.example.com" ["path"]=> string(8) "/public/" ["fragment"]=> string(24) "zoeken/commentaren/#R502" }