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 Webmozart\Assert\Tests\StaticAnalysis; use Webmozart\Assert\Assert; /**..

Decoded Output download

<?php

namespace Webmozart\Assert\Tests\StaticAnalysis;

use Webmozart\Assert\Assert;

/**
 * @psalm-pure
 */
function notWhitespaceOnly(string $value): string
{
    Assert::notWhitespaceOnly($value);

    return $value;
}

/**
 * @psalm-pure
 */
function nullOrNotWhitespaceOnly(?string $value): ?string
{
    Assert::nullOrNotWhitespaceOnly($value);

    return $value;
}

/**
 * @psalm-pure
 *
 * @param iterable<string> $value
 *
 * @return iterable<string>
 */
function allNotWhitespaceOnly(iterable $value): iterable
{
    Assert::allNotWhitespaceOnly($value);

    return $value;
}

/**
 * @psalm-pure
 *
 * @param iterable<string|null> $value
 *
 * @return iterable<string|null>
 */
function allNullOrNotWhitespaceOnly(iterable $value): iterable
{
    Assert::allNullOrNotWhitespaceOnly($value);

    return $value;
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Webmozart\Assert\Tests\StaticAnalysis;

use Webmozart\Assert\Assert;

/**
 * @psalm-pure
 */
function notWhitespaceOnly(string $value): string
{
    Assert::notWhitespaceOnly($value);

    return $value;
}

/**
 * @psalm-pure
 */
function nullOrNotWhitespaceOnly(?string $value): ?string
{
    Assert::nullOrNotWhitespaceOnly($value);

    return $value;
}

/**
 * @psalm-pure
 *
 * @param iterable<string> $value
 *
 * @return iterable<string>
 */
function allNotWhitespaceOnly(iterable $value): iterable
{
    Assert::allNotWhitespaceOnly($value);

    return $value;
}

/**
 * @psalm-pure
 *
 * @param iterable<string|null> $value
 *
 * @return iterable<string|null>
 */
function allNullOrNotWhitespaceOnly(iterable $value): iterable
{
    Assert::allNullOrNotWhitespaceOnly($value);

    return $value;
}

Function Calls

None

Variables

None

Stats

MD5 15a2402edcf689e4c4944a663de92fd7
Eval Count 0
Decode Time 101 ms