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); /** * This file is part of the Zephir. * * (c) Phalcon..
Decoded Output download
<?php
declare(strict_types=1);
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Extension;
use PHPUnit\Framework\TestCase;
use Stub\ExtendedInterface;
final class ExtendedInterfaceTest extends TestCase
{
public function testShouldExtendsInterfaces(): void
{
$reflection = new \ReflectionClass(ExtendedInterface::class);
$this->assertTrue($reflection->isInterface());
$this->assertContains('IteratorAggregate', $reflection->getInterfaceNames());
$this->assertContains('Countable', $reflection->getInterfaceNames());
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Extension;
use PHPUnit\Framework\TestCase;
use Stub\ExtendedInterface;
final class ExtendedInterfaceTest extends TestCase
{
public function testShouldExtendsInterfaces(): void
{
$reflection = new \ReflectionClass(ExtendedInterface::class);
$this->assertTrue($reflection->isInterface());
$this->assertContains('IteratorAggregate', $reflection->getInterfaceNames());
$this->assertContains('Countable', $reflection->getInterfaceNames());
}
}
Function Calls
None |
Stats
MD5 | fcec88595bf6916ddcea7901df484459 |
Eval Count | 0 |
Decode Time | 98 ms |