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

Signing you up...

Thank you for signing up!

PHP Decode

function aplParseLicenseFile() { $license_data_array = array(); if (!@is_readable(A..

Decoded Output download

<?  function aplParseLicenseFile() 
{ 
  $license_data_array = array(); 
  if (!@is_readable(APL_DIRECTORY . "/" . APL_LICENSE_FILE_LOCATION)) { 
    goto qQai2; 
  } 
  $file_content = file_get_contents(APL_DIRECTORY . "/" . APL_LICENSE_FILE_LOCATION); 
  preg_match_all("/<([A-Z_]+)>(.*?)<\/([A-Z_]+)>/", $file_content, $matches, PREG_SET_ORDER); 
  if (empty($matches)) { 
    goto KZQZr; 
  } 
  foreach ($matches as $value) { 
    if (!(!empty($value[1]) && $value[1] == $value[3])) { 
      goto XF_xr; 
    } 
    $license_data_array[$value[1]] = $value[2]; 
    XF_xr: 
    KQGC7: 
  } 
  H0ivj: 
  KZQZr: 
  qQai2: 
  return $license_data_array; 
} ?>

Did this file decode correctly?

Original Code

function aplParseLicenseFile()
{
  $license_data_array = array();
  if (!@is_readable(APL_DIRECTORY . "\57" . APL_LICENSE_FILE_LOCATION)) {
    goto qQai2;
  }
  $file_content = file_get_contents(APL_DIRECTORY . "\x2f" . APL_LICENSE_FILE_LOCATION);
  preg_match_all("\x2f\74\50\133\101\55\x5a\x5f\135\x2b\x29\x3e\50\56\x2a\77\x29\x3c\134\57\x28\133\101\55\132\x5f\135\53\x29\76\57", $file_content, $matches, PREG_SET_ORDER);
  if (empty($matches)) {
    goto KZQZr;
  }
  foreach ($matches as $value) {
    if (!(!empty($value[1]) && $value[1] == $value[3])) {
      goto XF_xr;
    }
    $license_data_array[$value[1]] = $value[2];
    XF_xr:
    KQGC7:
  }
  H0ivj:
  KZQZr:
  qQai2:
  return $license_data_array;
}

Function Calls

None

Variables

None

Stats

MD5 66ed46464e6cbb2a776f3b058dfe844c
Eval Count 0
Decode Time 121 ms