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\Examples\Blog\Type\Enum; use GraphQL\Ty..

Decoded Output download

<?php declare(strict_types=1);

namespace GraphQL\Examples\Blog\Type\Enum;

use GraphQL\Type\Definition\EnumType;

class ContentFormatType extends EnumType
{
    public const FORMAT_TEXT = 'TEXT';
    public const FORMAT_HTML = 'HTML';

    public function __construct()
    {
        parent::__construct([
            'name' => 'ContentFormat',
            'values' => [self::FORMAT_TEXT, self::FORMAT_HTML],
        ]);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php declare(strict_types=1);

namespace GraphQL\Examples\Blog\Type\Enum;

use GraphQL\Type\Definition\EnumType;

class ContentFormatType extends EnumType
{
    public const FORMAT_TEXT = 'TEXT';
    public const FORMAT_HTML = 'HTML';

    public function __construct()
    {
        parent::__construct([
            'name' => 'ContentFormat',
            'values' => [self::FORMAT_TEXT, self::FORMAT_HTML],
        ]);
    }
}

Function Calls

None

Variables

None

Stats

MD5 c739b9b079a0c61fc842ca70d90c9f35
Eval Count 0
Decode Time 92 ms