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); namespace SimplePie\Tests\Fixtures; use Exception; use S..

Decoded Output download

<?php

declare(strict_types=1);

namespace SimplePie\Tests\Fixtures;

use Exception;
use SimplePie\File;

/**
 * Make sure that File is never called
 */
class FileConstructorThrowsExceptionMock extends File
{
    public function __construct($url)
    {
        throw new Exception(sprintf(
            '"%s()" has been called with $url "%s"',
            __METHOD__,
            $url
        ), 1);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace SimplePie\Tests\Fixtures;

use Exception;
use SimplePie\File;

/**
 * Make sure that File is never called
 */
class FileConstructorThrowsExceptionMock extends File
{
    public function __construct($url)
    {
        throw new Exception(sprintf(
            '"%s()" has been called with $url "%s"',
            __METHOD__,
            $url
        ), 1);
    }
}

Function Calls

None

Variables

None

Stats

MD5 e088ab05779bf205c80c7b71411e2d62
Eval Count 0
Decode Time 97 ms