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\Inspector\Daemon\Dispatcher;

use Reli\Lib\PhpInternals\ZendTypeReader;

final class TargetProcessDescriptor
{
    /** @param value-of<ZendTypeReader::ALL_SUPPORTED_VERSIONS> $php_version */
    public function __construct(
        public int $pid,
        public int $eg_address,
        public int $sg_address,
        public string $php_version,
    ) {
    }

    public static function getInvalid(): self
    {
        static $invalid = null;
        /** @var self */
        $invalid ??= new self(0, 0, 0, ZendTypeReader::V80);
        return $invalid;
    }
}
 ?>

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\Inspector\Daemon\Dispatcher;

use Reli\Lib\PhpInternals\ZendTypeReader;

final class TargetProcessDescriptor
{
    /** @param value-of<ZendTypeReader::ALL_SUPPORTED_VERSIONS> $php_version */
    public function __construct(
        public int $pid,
        public int $eg_address,
        public int $sg_address,
        public string $php_version,
    ) {
    }

    public static function getInvalid(): self
    {
        static $invalid = null;
        /** @var self */
        $invalid ??= new self(0, 0, 0, ZendTypeReader::V80);
        return $invalid;
    }
}

Function Calls

None

Variables

None

Stats

MD5 6d5cce8f09e704fab456a4554a8ddef3
Eval Count 0
Decode Time 96 ms