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 namespace OpCacheGUITest\Unit\Network; use OpCacheGUI\Network\Route; use OpCacheGU..

Decoded Output download

<?php

namespace OpCacheGUITest\Unit\Network;

use OpCacheGUI\Network\Route;
use OpCacheGUI\Network\RouteBuilder;
use OpCacheGUI\Network\RouteFactory;
use PHPUnit\Framework\TestCase;

class RouteFactoryTest extends TestCase
{
    /**
     */
    public function testConstructCorrectInstance()
    {
        $factory = new RouteFactory;

        $this->assertInstanceOf(RouteBuilder::class, $factory);
    }

    /**
     * @covers OpCacheGUI\Network\RouteFactory::build
     */
    public function testBuild()
    {
        $factory = new RouteFactory;

        $this->assertInstanceOf(Route::class, $factory->build('id', 'GET', function () {}));
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace OpCacheGUITest\Unit\Network;

use OpCacheGUI\Network\Route;
use OpCacheGUI\Network\RouteBuilder;
use OpCacheGUI\Network\RouteFactory;
use PHPUnit\Framework\TestCase;

class RouteFactoryTest extends TestCase
{
    /**
     */
    public function testConstructCorrectInstance()
    {
        $factory = new RouteFactory;

        $this->assertInstanceOf(RouteBuilder::class, $factory);
    }

    /**
     * @covers OpCacheGUI\Network\RouteFactory::build
     */
    public function testBuild()
    {
        $factory = new RouteFactory;

        $this->assertInstanceOf(Route::class, $factory->build('id', 'GET', function () {}));
    }
}

Function Calls

None

Variables

None

Stats

MD5 c612925ba320a87402e4da60e7d360ac
Eval Count 0
Decode Time 79 ms