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 namespace Psalm\Type\Atomic; /** * Denotes a string, that is also non-falsy (ever..

Decoded Output download

<?php

namespace Psalm\Type\Atomic;

/**
 * Denotes a string, that is also non-falsy (every string except '' and '0')
 *
 * @psalm-immutable
 */
class TNonFalsyString extends TNonEmptyString
{
    public function getId(bool $exact = true, bool $nested = false): string
    {
        if (!$exact) {
            return 'string';
        }

        return 'non-falsy-string';
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Psalm\Type\Atomic;

/**
 * Denotes a string, that is also non-falsy (every string except '' and '0')
 *
 * @psalm-immutable
 */
class TNonFalsyString extends TNonEmptyString
{
    public function getId(bool $exact = true, bool $nested = false): string
    {
        if (!$exact) {
            return 'string';
        }

        return 'non-falsy-string';
    }
}

Function Calls

None

Variables

None

Stats

MD5 9c76051605cf90ae3fa76c6d3572dc81
Eval Count 0
Decode Time 89 ms