Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php function complicatedCalculation($input) { $rt1 = 0; $rl = 0; $fa =..
Decoded Output download
<?php
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, ".", "'");
?php> ?>
Did this file decode correctly?
Original Code
<?php
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, ".", "'");
?php>
Function Calls
None |
Stats
MD5 | cfe5c14ba89d17acdc8a2af888429a3e |
Eval Count | 0 |
Decode Time | 61 ms |