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>"; print_r(parse_url($gs)); echo '</pre>';
Output for 5.3.6 - 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>Array ( [path] => main.php [query] => 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 ) </pre>
Output for 5.1.0 - 5.3.5
<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>Array ( [host] => main.php?s=rio&link=https [path] => //wls.rio.directv.com/wpservsm_enu/start.swe [query] => 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 ) </pre>
Output for 5.0.0 - 5.0.5
<pre> Fatal error: Call to undefined function htmlspecialchars_decode() in /in/B1SqV on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<pre> Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/B1SqV on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<pre> Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/B1SqV on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<pre> Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/B1SqV on line 3