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\Reflection as StubReflection;
final class ReflectionTest extends TestCase
{
public function testMethods(): void
{
$class = new StubReflection();
$this->assertInstanceOf(\ReflectionClass::class, $class->getReflectionClass());
$this->assertInstanceOf(\ReflectionFunction::class, $class->getReflectionFunction());
$this->assertNull($class->getReflectionParameter());
$class->setReflectionParameter(new \ReflectionParameter(fn ($test) => 1, 0));
$this->assertInstanceOf(\ReflectionParameter::class, $class->getReflectionParameter());
}
}
?>
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\Reflection as StubReflection;
final class ReflectionTest extends TestCase
{
public function testMethods(): void
{
$class = new StubReflection();
$this->assertInstanceOf(\ReflectionClass::class, $class->getReflectionClass());
$this->assertInstanceOf(\ReflectionFunction::class, $class->getReflectionFunction());
$this->assertNull($class->getReflectionParameter());
$class->setReflectionParameter(new \ReflectionParameter(fn ($test) => 1, 0));
$this->assertInstanceOf(\ReflectionParameter::class, $class->getReflectionParameter());
}
}
Function Calls
None |
Stats
MD5 | 317b743934dd9288f1d368a4816cf2e6 |
Eval Count | 0 |
Decode Time | 96 ms |