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 isPrime($n) { if ($n <= 1) return false; for ($i = 2; $i * $i..

Decoded Output download

<?php 
 
function isPrime($n) 
{ 
    if ($n <= 1) return false; 
    for ($i = 2; $i * $i <= $n; $i++) { 
        if ($n % $i == 0) 
            return false; 
    } 
    return true; 
} 
 
 ?>

Did this file decode correctly?

Original Code

<?php

function isPrime($n)
{
    if ($n <= 1) return false;
    for ($i = 2; $i * $i <= $n; $i++) {
        if ($n % $i == 0)
            return false;
    }
    return true;
}

Function Calls

None

Variables

None

Stats

MD5 c1bf082ddac422cbe74a3679038d8482
Eval Count 0
Decode Time 42 ms