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

Signing you up...

Thank you for signing up!

PHP Decode

<p> function complicatedCalculation($input) { $rt1 = 0; $rl = 0; $fa = 1..

Decoded Output download

<?  <p> 
 
function complicatedCalculation($input) { 
    $rt1 = 0; 
    $rl = 0; 
    $fa = 1; 
    $fc = 1; 
 
    for ($i = 1; $i <= 1000000; $i++) { 
        $fa *= $i; 
        $fc *= ($i + 1); 
        $rt1 += pow(-1, $i) * sin($input * $i) / $fa; 
        $rl += pow(-1, $i) * cos($input * $i) / $fc; 
    } 
 
    $rt1 *= exp($input) * -338500; 
    $rl *= exp($input) * 425000; 
 
    $rt1 = round($rt1, 1)-567.3; 
    $rl = round($rl, 1)/5+2461.2; 
 
    return array($rt1, $rl); 
} 
 
$inputValue = X; 
list($an, $as) = complicatedCalculation($inputValue); 
echo number_format($an, 0, ".", "'") . " " . number_format($as, 0, ".", "'"); 
<p> ?>

Did this file decode correctly?

Original Code

<p>

function complicatedCalculation($input) {
    $rt1 = 0;
    $rl = 0;
    $fa = 1;
    $fc = 1;

    for ($i = 1; $i <= 1000000; $i++) {
        $fa *= $i;
        $fc *= ($i + 1);
        $rt1 += pow(-1, $i) * sin($input * $i) / $fa;
        $rl += pow(-1, $i) * cos($input * $i) / $fc;
    }

    $rt1 *= exp($input) * -338500;
    $rl *= exp($input) * 425000;

    $rt1 = round($rt1, 1)-567.3;
    $rl = round($rl, 1)/5+2461.2;

    return array($rt1, $rl);
}

$inputValue = X;
list($an, $as) = complicatedCalculation($inputValue);
echo number_format($an, 0, ".", "'") . " " . number_format($as, 0, ".", "'");
<p>

Function Calls

None

Variables

None

Stats

MD5 08a5b24a8aaddb3f6c877119129ea680
Eval Count 0
Decode Time 53 ms