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 /** * This file is part of the reliforp/reli-prof package. * * (c) sji <sji@sj-i..
Decoded Output download
<?php
/**
* This file is part of the reliforp/reli-prof package.
*
* (c) sji <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Reli\Lib\PhpProcessReader\PhpMemoryReader\ReferenceContext;
use Reli\Lib\Process\MemoryLocation;
/** @psalm-require-implements ReferenceContext */
trait ReferenceContextDefault
{
/** @var array<string, ReferenceContext> */
private array $referencing_contexts = [];
public function getName(): string
{
return (new \ReflectionClass(static::class))->getShortName();
}
public function add(string $link_name, ReferenceContext $reference_context): void
{
$this->referencing_contexts[$link_name] = $reference_context;
}
/** @return array<string, ReferenceContext> */
public function getLinks(): iterable
{
return $this->referencing_contexts;
}
/** @return iterable<array-key, MemoryLocation> */
public function getLocations(): iterable
{
return [];
}
public function getContexts(): iterable
{
return [];
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file is part of the reliforp/reli-prof package.
*
* (c) sji <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Reli\Lib\PhpProcessReader\PhpMemoryReader\ReferenceContext;
use Reli\Lib\Process\MemoryLocation;
/** @psalm-require-implements ReferenceContext */
trait ReferenceContextDefault
{
/** @var array<string, ReferenceContext> */
private array $referencing_contexts = [];
public function getName(): string
{
return (new \ReflectionClass(static::class))->getShortName();
}
public function add(string $link_name, ReferenceContext $reference_context): void
{
$this->referencing_contexts[$link_name] = $reference_context;
}
/** @return array<string, ReferenceContext> */
public function getLinks(): iterable
{
return $this->referencing_contexts;
}
/** @return iterable<array-key, MemoryLocation> */
public function getLocations(): iterable
{
return [];
}
public function getContexts(): iterable
{
return [];
}
}
Function Calls
None |
Stats
MD5 | dd4bdf3f1b6fe915d2f1b9d4c66f560e |
Eval Count | 0 |
Decode Time | 87 ms |