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 if (!class_exists($class = Decimal\Decimal::class)) { echo sprintf('FAIL: Class..

Decoded Output download

<?php

if (!class_exists($class = Decimal\Decimal::class)) {
    echo sprintf('FAIL: Class "%s" does not exist.', $class).PHP_EOL;
    exit(1);
}

try {
    $d = new \Decimal\Decimal(5);
    $d->isZero();
} catch (\Throwable $e) {
    echo sprintf('FAIL: Decimal failed with "%s" exception: %s', get_class($e), $e->getMessage()).PHP_EOL;
    exit(1);
}

exit(0);
 ?>

Did this file decode correctly?

Original Code

<?php

if (!class_exists($class = Decimal\Decimal::class)) {
    echo sprintf('FAIL: Class "%s" does not exist.', $class).PHP_EOL;
    exit(1);
}

try {
    $d = new \Decimal\Decimal(5);
    $d->isZero();
} catch (\Throwable $e) {
    echo sprintf('FAIL: Decimal failed with "%s" exception: %s', get_class($e), $e->getMessage()).PHP_EOL;
    exit(1);
}

exit(0);

Function Calls

None

Variables

None

Stats

MD5 bc394fe70f1083c29845ef6a482258e0
Eval Count 0
Decode Time 193 ms