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 $num = 14597; $sum=0; $rem=0; for ($i =0; $i<=strlen($num);$i++) { ..
Decoded Output download
<?php
$num = 14597;
$sum=0; $rem=0;
for ($i =0; $i<=strlen($num);$i++)
{
$rem=$num%10;
$sum = $sum + $rem;
$num=$num/10;
}
echo "Sum of digits 14597 is $sum";
?>
Did this file decode correctly?
Original Code
<?php
$num = 14597;
$sum=0; $rem=0;
for ($i =0; $i<=strlen($num);$i++)
{
$rem=$num%10;
$sum = $sum + $rem;
$num=$num/10;
}
echo "Sum of digits 14597 is $sum";
?>
Function Calls
strlen | 1 |
Stats
MD5 | b0aa060bc3aa297e3f4ea4eadaa090f1 |
Eval Count | 0 |
Decode Time | 96 ms |