3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = '/search?latitude=59.9177534&longitude=30.472655300000003'; var_dump(parse_url($t));
based on YS1kc
Output for 5.6.38 - 7.3.0
array(2) { ["path"]=> string(7) "/search" ["query"]=> string(48) "latitude=59.9177534&longitude=30.472655300000003" }