3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('http://af.groupminteraction.pl?cid=njunetaffdisplay&gmafredir=http://t.qservz.com/cl.aspx?tc=fc54c8f0b4dcf455c1e1d6ade7d5ffab&url=http://delivery.way2traffic.com/campaign=9058/click/82479/countgo.html?pc=826203&redir=http://www.njumobile.pl/roaming/1?utm_source=301_aff_out&utm_medium=display&utm_term=29&utm_campaign=roaming/1'));
Output for 5.6.28 - 5.6.30, 7.0.13 - 7.3.1
array(3) { ["scheme"]=> string(4) "http" ["host"]=> string(23) "af.groupminteraction.pl" ["query"]=> string(296) "cid=njunetaffdisplay&gmafredir=http://t.qservz.com/cl.aspx?tc=fc54c8f0b4dcf455c1e1d6ade7d5ffab&url=http://delivery.way2traffic.com/campaign=9058/click/82479/countgo.html?pc=826203&redir=http://www.njumobile.pl/roaming/1?utm_source=301_aff_out&utm_medium=display&utm_term=29&utm_campaign=roaming/1" }
Output for 5.6.0 - 5.6.27, hhvm-3.15.4, 7.0.0 - 7.0.12
array(4) { ["scheme"]=> string(4) "http" ["host"]=> string(59) "af.groupminteraction.pl?cid=njunetaffdisplay&gmafredir=http" ["path"]=> string(22) "//t.qservz.com/cl.aspx" ["query"]=> string(237) "tc=fc54c8f0b4dcf455c1e1d6ade7d5ffab&url=http://delivery.way2traffic.com/campaign=9058/click/82479/countgo.html?pc=826203&redir=http://www.njumobile.pl/roaming/1?utm_source=301_aff_out&utm_medium=display&utm_term=29&utm_campaign=roaming/1" }