3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "<pre>"; $gs = htmlspecialchars_decode(urldecode('https://wls.rio.directv.com/wpservsm_enu/start.swe%3FC%3DInv%26amp%3BA%3DDSOLILA%26amp%3BRqr%3D1%26amp%3BNct%3Dtrue%26amp%3BV%3DDSOLILV%26amp%3B_sn%3D%217.2548.19e5a.53ab23c5%26amp%3BM%3DDrilldown%26amp%3BR%3D1-1NV33MNK%26amp%3BRs%3DSWERowId0%3D1-1NV33MNP%2CSWERowId1%3D%26amp%3BCnt%3D24%250A%26amp%3BF%3Ds_1_2_44_7')); echo "$gs<br>"; //$ga = parse_url($gs); parse_str(parse_url($gs)['query'],$gq); print_r($gq); echo '</pre>';
Output for 5.4.0 - 7.2.0
<pre>https://wls.rio.directv.com/wpservsm_enu/start.swe?C=Inv&A=DSOLILA&Rqr=1&Nct=true&V=DSOLILV&_sn=!7.2548.19e5a.53ab23c5&M=Drilldown&R=1-1NV33MNK&Rs=SWERowId0=1-1NV33MNP,SWERowId1=&Cnt=24%0A&F=s_1_2_44_7<br>Array ( [C] => Inv [A] => DSOLILA [Rqr] => 1 [Nct] => true [V] => DSOLILV [_sn] => !7.2548.19e5a.53ab23c5 [M] => Drilldown [R] => 1-1NV33MNK [Rs] => SWERowId0=1-1NV33MNP,SWERowId1= [Cnt] => 24 [F] => s_1_2_44_7 ) </pre>
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/36vYF on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/36vYF on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/36vYF on line 6
Process exited with code 255.