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 JsonRPC\Response; use PHPUnit_Framework_TestCase; require_once __DIR__...

Decoded Output download

<?php

namespace JsonRPC\Response;

use PHPUnit_Framework_TestCase;

require_once __DIR__.'/../../../../vendor/autoload.php';

function header($value)
{
    HeaderMockTest::$functions->header($value);
}

abstract class HeaderMockTest extends PHPUnit_Framework_TestCase
{
    public static $functions;

    public function setUp()
    {
        self::$functions = $this
            ->getMockBuilder('stdClass')
            ->setMethods(array('header'))
            ->getMock();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace JsonRPC\Response;

use PHPUnit_Framework_TestCase;

require_once __DIR__.'/../../../../vendor/autoload.php';

function header($value)
{
    HeaderMockTest::$functions->header($value);
}

abstract class HeaderMockTest extends PHPUnit_Framework_TestCase
{
    public static $functions;

    public function setUp()
    {
        self::$functions = $this
            ->getMockBuilder('stdClass')
            ->setMethods(array('header'))
            ->getMock();
    }
}

Function Calls

None

Variables

None

Stats

MD5 6bec2ced73b1d6b8db3e1a2335bfeb19
Eval Count 0
Decode Time 103 ms