Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
if (!function_exists("\160\141\164\x69\x65\x6e\x74\x5f\x63\157\x64\x65")) { function ..
Decoded Output download
<? if (!function_exists("patient_code")) {
function patient_code($patient_id)
{
goto ygugh;
rqQWT:
patient_code($patient_id);
goto T9BD7;
ygugh:
$code = mt_rand(1000, 9999) . $patient_id;
goto cBQh6;
cBQh6:
$exist = Patient::where("code", $code)->count();
goto t_1TS;
vB_y3:
Patient::where("id", $patient_id)->update(["code" => $code]);
goto nyH03;
T9BD7:
iIYXC:
goto vB_y3;
t_1TS:
if (!$exist) {
goto iIYXC;
}
goto rqQWT;
nyH03:
}
} ?>
Did this file decode correctly?
Original Code
if (!function_exists("\160\141\164\x69\x65\x6e\x74\x5f\x63\157\x64\x65")) {
function patient_code($patient_id)
{
goto ygugh;
rqQWT:
patient_code($patient_id);
goto T9BD7;
ygugh:
$code = mt_rand(1000, 9999) . $patient_id;
goto cBQh6;
cBQh6:
$exist = Patient::where("\143\x6f\144\145", $code)->count();
goto t_1TS;
vB_y3:
Patient::where("\151\x64", $patient_id)->update(["\143\157\x64\x65" => $code]);
goto nyH03;
T9BD7:
iIYXC:
goto vB_y3;
t_1TS:
if (!$exist) {
goto iIYXC;
}
goto rqQWT;
nyH03:
}
}
Function Calls
None |
Stats
MD5 | 32b48adad8faf3978b869311fec6bf7f |
Eval Count | 0 |
Decode Time | 48 ms |