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 Swoft. * * @link https://..

Decoded Output download

<?php declare(strict_types=1);
/**
 * This file is part of Swoft.
 *
 * @link     https://swoft.org
 * @document https://swoft.org/docs
 * @contact  [email protected]
 * @license  https://github.com/swoft-cloud/swoft/blob/master/LICENSE
 */

namespace AppTest\Unit\Common;

use App\Common\MyBean;
use PHPUnit\Framework\TestCase;
use Swoft\Log\Helper\Log;
use function bean;

/**
 * Class MyBeanTest
 *
 * @package AppTest\Unit\Common
 */
class MyBeanTest extends TestCase
{
    public function testMyMethod2(): void
    {
        $bean = bean(MyBean::class);

        vdump('test message');
        Log::info('test message');

        $this->assertSame(MyBean::class . '::myMethod2', $bean->myMethod2());
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php declare(strict_types=1);
/**
 * This file is part of Swoft.
 *
 * @link     https://swoft.org
 * @document https://swoft.org/docs
 * @contact  [email protected]
 * @license  https://github.com/swoft-cloud/swoft/blob/master/LICENSE
 */

namespace AppTest\Unit\Common;

use App\Common\MyBean;
use PHPUnit\Framework\TestCase;
use Swoft\Log\Helper\Log;
use function bean;

/**
 * Class MyBeanTest
 *
 * @package AppTest\Unit\Common
 */
class MyBeanTest extends TestCase
{
    public function testMyMethod2(): void
    {
        $bean = bean(MyBean::class);

        vdump('test message');
        Log::info('test message');

        $this->assertSame(MyBean::class . '::myMethod2', $bean->myMethod2());
    }
}

Function Calls

None

Variables

None

Stats

MD5 3c09864a8065c031b457df057b0af59f
Eval Count 0
Decode Time 99 ms