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\Cache; use Exception;..
Decoded Output download
<?php
declare(strict_types=1);
namespace SimplePie\Tests\Fixtures\Cache;
use Exception;
use SimplePie\Cache;
use SimplePie\Tests\Fixtures\Exception\SuccessException;
class NewCacheMock extends Cache
{
public static function get_handler($location, $filename, $extension)
{
throw new SuccessException('Correct function called');
}
public function create($location, $filename, $extension)
{
throw new Exception('New cache class should not have create() called');
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace SimplePie\Tests\Fixtures\Cache;
use Exception;
use SimplePie\Cache;
use SimplePie\Tests\Fixtures\Exception\SuccessException;
class NewCacheMock extends Cache
{
public static function get_handler($location, $filename, $extension)
{
throw new SuccessException('Correct function called');
}
public function create($location, $filename, $extension)
{
throw new Exception('New cache class should not have create() called');
}
}
Function Calls
None |
Stats
MD5 | 40610bf4e14935eea56ac450e6f65ba5 |
Eval Count | 0 |
Decode Time | 98 ms |