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 declare(strict_types=1); /** * This file is part of the Zephir. * * (c) Phalcon..

Decoded Output download

<?php

declare(strict_types=1);

/**
 * This file is part of the Zephir.
 *
 * (c) Phalcon Team <[email protected]>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Extension;

use PHPUnit\Framework\TestCase;

final class EvalTest extends TestCase
{
    public function testEval(): void
    {
        $test = new \Stub\EvalTest();

        $this->assertSame(2, $test->evalCode('return 1 + 1;'));
        $this->assertSame(8, $test->evalCode('$g = pow(2, 2); return $g * 2;'));
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

/**
 * This file is part of the Zephir.
 *
 * (c) Phalcon Team <[email protected]>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Extension;

use PHPUnit\Framework\TestCase;

final class EvalTest extends TestCase
{
    public function testEval(): void
    {
        $test = new \Stub\EvalTest();

        $this->assertSame(2, $test->evalCode('return 1 + 1;'));
        $this->assertSame(8, $test->evalCode('$g = pow(2, 2); return $g * 2;'));
    }
}

Function Calls

None

Variables

None

Stats

MD5 e5b11e2233d15613e24f59352632934d
Eval Count 0
Decode Time 91 ms