Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

gotoKlOA2; JEArv:function XCPm6($Tbhgc,$ruYsY) { gotoo7sug; tIE1h:return (double) $..

Decoded Output download

<?  gotoKlOA2; 
JEArv:function XCPm6($Tbhgc,$ruYsY) { 
  gotoo7sug; 
  tIE1h:return (double) $Tbhgc[$ruYsY/2]; 
  gotowb2eA; 
  sTr1X:return (double)($Tbhgc[($ruYsY-1)/2]+$Tbhgc[$ruYsY/2])/2.0; 
  gotos71WP; 
  o7sug:sort($Tbhgc); 
  gotoCfg1n; 
  Cfg1n:if(!($ruYsY%2!=0)) { 
    gotolU380; 
  } 
  gototIE1h; 
  wb2eA:lU380:gotosTr1X; 
  s71WP: 
} 
gotoAFFHO; 
aK8up:$ruYsY=sizeof($Tbhgc); 
gotovh5fV; 
AFFHO:$Tbhgc=array(1,3,4,2,7,5,8,6); 
gotoaK8up; 
KlOA2:function txPom(&$Tbhgc,$ruYsY) { 
  gotoT020L; 
  UONGG:return (double) $hteDD/(double) $ruYsY; 
  gotoIL3ar; 
  T020L:$hteDD=0; 
  gotogrNwz; 
  ZcPWo:qCd87:gotoUONGG; 
  grNwz:foreach($Tbhgc as $FrHVb) { 
    $hteDD+=$FrHVb; 
    IhOLZ: 
  } 
  gotoZcPWo; 
  IL3ar: 
} 
gotoJEArv; 
vh5fV:echo "Average is ".TxpOm($Tbhgc,$ruYsY)."<br>"; 
gotoMJMiE; 
MJMiE:echo "Median is ".XcpM6($Tbhgc,$ruYsY)."<br>"; ?>

Did this file decode correctly?

Original Code

gotoKlOA2;
JEArv:function XCPm6($Tbhgc,$ruYsY) {
  gotoo7sug;
  tIE1h:return (double) $Tbhgc[$ruYsY/2];
  gotowb2eA;
  sTr1X:return (double)($Tbhgc[($ruYsY-1)/2]+$Tbhgc[$ruYsY/2])/2.0;
  gotos71WP;
  o7sug:sort($Tbhgc);
  gotoCfg1n;
  Cfg1n:if(!($ruYsY%2!=0)) {
    gotolU380;
  }
  gototIE1h;
  wb2eA:lU380:gotosTr1X;
  s71WP:
}
gotoAFFHO;
aK8up:$ruYsY=sizeof($Tbhgc);
gotovh5fV;
AFFHO:$Tbhgc=array(1,3,4,2,7,5,8,6);
gotoaK8up;
KlOA2:function txPom(&$Tbhgc,$ruYsY) {
  gotoT020L;
  UONGG:return (double) $hteDD/(double) $ruYsY;
  gotoIL3ar;
  T020L:$hteDD=0;
  gotogrNwz;
  ZcPWo:qCd87:gotoUONGG;
  grNwz:foreach($Tbhgc as $FrHVb) {
    $hteDD+=$FrHVb;
    IhOLZ:
  }
  gotoZcPWo;
  IL3ar:
}
gotoJEArv;
vh5fV:echo "\x41\x76\145\x72\141\147\145\x20\151\x73\40".TxpOm($Tbhgc,$ruYsY)."\74\x62\162\76";
gotoMJMiE;
MJMiE:echo "\115\x65\x64\x69\141\x6e\40\151\163\40".XcpM6($Tbhgc,$ruYsY)."\74\x62\x72\76";

Function Calls

None

Variables

None

Stats

MD5 2e9a0855d3118d68a300c70a154a314a
Eval Count 0
Decode Time 45 ms