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 GraphQL\Language\AST; class DirectiveDefinition..

Decoded Output download

<?php declare(strict_types=1);

namespace GraphQL\Language\AST;

class DirectiveDefinitionNode extends Node implements TypeSystemDefinitionNode
{
    public string $kind = NodeKind::DIRECTIVE_DEFINITION;

    public NameNode $name;

    public ?StringValueNode $description = null;

    /** @var NodeList<InputValueDefinitionNode> */
    public NodeList $arguments;

    public bool $repeatable;

    /** @var NodeList<NameNode> */
    public NodeList $locations;

    public function __construct(array $vars)
    {
        parent::__construct($vars);
        $this->arguments ??= new NodeList([]);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php declare(strict_types=1);

namespace GraphQL\Language\AST;

class DirectiveDefinitionNode extends Node implements TypeSystemDefinitionNode
{
    public string $kind = NodeKind::DIRECTIVE_DEFINITION;

    public NameNode $name;

    public ?StringValueNode $description = null;

    /** @var NodeList<InputValueDefinitionNode> */
    public NodeList $arguments;

    public bool $repeatable;

    /** @var NodeList<NameNode> */
    public NodeList $locations;

    public function __construct(array $vars)
    {
        parent::__construct($vars);
        $this->arguments ??= new NodeList([]);
    }
}

Function Calls

None

Variables

None

Stats

MD5 cadf3a27a252dd889ffe404871b84d91
Eval Count 0
Decode Time 71 ms