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 Doctrine\ORM\Query\AST; use Doctrine\ORM\Query..

Decoded Output download

<?php

declare(strict_types=1);

namespace Doctrine\ORM\Query\AST;

use Doctrine\ORM\Query\SqlWalker;

class Literal extends Node
{
    final public const STRING  = 1;
    final public const BOOLEAN = 2;
    final public const NUMERIC = 3;

    /** @psalm-param self::* $type */
    public function __construct(
        public int $type,
        public mixed $value,
    ) {
    }

    public function dispatch(SqlWalker $walker): string
    {
        return $walker->walkLiteral($this);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Doctrine\ORM\Query\AST;

use Doctrine\ORM\Query\SqlWalker;

class Literal extends Node
{
    final public const STRING  = 1;
    final public const BOOLEAN = 2;
    final public const NUMERIC = 3;

    /** @psalm-param self::* $type */
    public function __construct(
        public int $type,
        public mixed $value,
    ) {
    }

    public function dispatch(SqlWalker $walker): string
    {
        return $walker->walkLiteral($this);
    }
}

Function Calls

None

Variables

None

Stats

MD5 ba88580f2b23221bd0bf04d215d4efac
Eval Count 0
Decode Time 74 ms