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 /** * Copyright Magento, Inc. All rights reserved. * See COPYING.txt for license ..

Decoded Output download

<?php
/**
 * Copyright  Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\CacheInvalidate\Test\Unit\Model;

use Laminas\Http\Client\Adapter\Socket;
use Magento\CacheInvalidate\Model\SocketFactory;
use PHPUnit\Framework\TestCase;

class SocketFactoryTest extends TestCase
{
    public function testCreate()
    {
        $factory = new SocketFactory();
        $this->assertInstanceOf(Socket::class, $factory->create());
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * Copyright  Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\CacheInvalidate\Test\Unit\Model;

use Laminas\Http\Client\Adapter\Socket;
use Magento\CacheInvalidate\Model\SocketFactory;
use PHPUnit\Framework\TestCase;

class SocketFactoryTest extends TestCase
{
    public function testCreate()
    {
        $factory = new SocketFactory();
        $this->assertInstanceOf(Socket::class, $factory->create());
    }
}

Function Calls

None

Variables

None

Stats

MD5 2cc237d6f58254f8b90e2fc0a328aaa3
Eval Count 0
Decode Time 96 ms