3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo phpversion(); $url = "_search?q=sku:89399"; var_dump(parse_url($url));
based on i12Ms
Output for 7.2.0
7.2.0array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.1.10
7.1.10array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.1.7
7.1.7array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.1.6
7.1.6array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.1.5
7.1.5array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.1.0
7.1.0array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.20
7.0.20array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.6
7.0.6array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.5
7.0.5array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.4
7.0.4array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.3
7.0.3array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.2
7.0.2array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.1
7.0.1array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 7.0.0
7.0.0array(2) { ["path"]=> string(7) "_search" ["query"]=> string(11) "q=sku:89399" }
Output for 5.6.28
5.6.28bool(false)
Output for 5.6.21
5.6.21bool(false)
Output for 5.6.20
5.6.20bool(false)
Output for 5.6.19
5.6.19bool(false)
Output for 5.6.18
5.6.18bool(false)
Output for 5.6.17
5.6.17bool(false)
Output for 5.6.16
5.6.16bool(false)
Output for 5.6.15
5.6.15bool(false)
Output for 5.6.14
5.6.14bool(false)
Output for 5.6.13
5.6.13bool(false)
Output for 5.6.12
5.6.12bool(false)
Output for 5.6.11
5.6.11bool(false)
Output for 5.6.10
5.6.10bool(false)
Output for 5.6.9
5.6.9bool(false)
Output for 5.6.8
5.6.8bool(false)
Output for 5.5.35
5.5.35bool(false)
Output for 5.5.34
5.5.34bool(false)
Output for 5.5.33
5.5.33bool(false)
Output for 5.5.32
5.5.32bool(false)
Output for 5.5.31
5.5.31bool(false)
Output for 5.5.30
5.5.30bool(false)
Output for 5.5.29
5.5.29bool(false)
Output for 5.5.28
5.5.28bool(false)
Output for 5.5.27
5.5.27bool(false)
Output for 5.5.26
5.5.26bool(false)
Output for 5.5.25
5.5.25bool(false)
Output for 5.5.24
5.5.24bool(false)
Output for 5.4.45
5.4.45bool(false)
Output for 5.4.44
5.4.44bool(false)
Output for 5.4.43
5.4.43bool(false)
Output for 5.4.42
5.4.42bool(false)
Output for 5.4.41
5.4.41bool(false)
Output for 5.4.40
5.4.40bool(false)
Output for 5.4.39
5.4.39bool(false)
Output for 5.4.38
5.4.38bool(false)
Output for 5.4.37
5.4.37bool(false)
Output for 5.4.36
5.4.36bool(false)
Output for 5.4.35
5.4.35bool(false)
Output for 5.4.34
5.4.34bool(false)
Output for 5.4.32
5.4.32bool(false)
Output for 5.4.31
5.4.31bool(false)
Output for 5.4.30
5.4.30bool(false)
Output for 5.4.29
5.4.29bool(false)
Output for 5.4.28
5.4.28bool(false)
Output for 5.4.27
5.4.27bool(false)
Output for 5.4.26
5.4.26bool(false)
Output for 5.4.25
5.4.25bool(false)
Output for 5.4.24
5.4.24bool(false)
Output for 5.4.23
5.4.23bool(false)
Output for 5.4.22
5.4.22bool(false)
Output for 5.4.21
5.4.21bool(false)
Output for 5.4.20
5.4.20bool(false)
Output for 5.4.19
5.4.19bool(false)
Output for 5.4.18
5.4.18bool(false)
Output for 5.4.17
5.4.17bool(false)
Output for 5.4.16
5.4.16bool(false)
Output for 5.4.15
5.4.15bool(false)
Output for 5.4.14
5.4.14bool(false)
Output for 5.4.13
5.4.13bool(false)
Output for 5.4.12
5.4.12bool(false)
Output for 5.4.11
5.4.11bool(false)
Output for 5.4.10
5.4.10bool(false)
Output for 5.3.29
5.3.29bool(false)
Output for 5.3.28
5.3.28bool(false)
Output for 5.3.27
5.3.27bool(false)
Output for 5.3.26
5.3.26bool(false)
Output for 5.3.25
5.3.25bool(false)
Output for 5.3.24
5.3.24bool(false)
Output for 5.3.23
5.3.23bool(false)
Output for 5.3.22
5.3.22bool(false)
Output for 5.3.21
5.3.21bool(false)
Output for 5.3.20
5.3.20bool(false)