3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "<pre>"; $gs = htmlspecialchars_decode(urldecode('main.php?s=rio&link=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%212d.3184.b0b6.53a7283e%26amp%3BM%3DDrilldown%26amp%3BR%3D1-1NTPXU6G%26amp%3BRs%3DSWERowId0%3D1-1NOTTCUQ%2CSWERowId1%3D%26amp%3BCnt%3D80%250A%26amp%3BF%3Ds_1_2_44_12')); echo "$gs<br>"; $ga = parse_str(parse_url($gs)['query']); print_r($ga); echo '</pre>';
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<pre>main.php?s=rio&link=https://wls.rio.directv.com/wpservsm_enu/start.swe?C=Inv&A=DSOLILA&Rqr=1&Nct=true&V=DSOLILV&_sn=!2d.3184.b0b6.53a7283e&M=Drilldown&R=1-1NTPXU6G&Rs=SWERowId0=1-1NOTTCUQ,SWERowId1=&Cnt=80%0A&F=s_1_2_44_12<br></pre>
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/1XLVs on line 5
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/1XLVs on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/1XLVs on line 5
Process exited with code 255.