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 text_limit($x, $length) { if(strlen($x)<=$length) { echo $x; } ..

Decoded Output download

<?  function text_limit($x, $length) 
{ 
  if(strlen($x)<=$length) 
  { 
    echo $x; 
  } 
  else 
  { 
    $y=substr($x,0,$length) . '...'; 
    echo $y; 
  } 
} ?>

Did this file decode correctly?

Original Code

function text_limit($x, $length)
{
  if(strlen($x)<=$length)
  {
    echo $x;
  }
  else
  {
    $y=substr($x,0,$length) . '...';
    echo $y;
  }
}

Function Calls

None

Variables

None

Stats

MD5 9454dd94e110f443a85a846a9c2890f9
Eval Count 0
Decode Time 94 ms