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
 *
 * @param mixed $value
 */
function float($value): float
{
    Assert::float($value);

    return $value;
}

/**
 * @psalm-pure
 *
 * @param mixed $value
 */
function nullOrFloat($value): ?float
{
    Assert::nullOrFloat($value);

    return $value;
}

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

    return $value;
}

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

    return $value;
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Webmozart\Assert\Tests\StaticAnalysis;

use Webmozart\Assert\Assert;

/**
 * @psalm-pure
 *
 * @param mixed $value
 */
function float($value): float
{
    Assert::float($value);

    return $value;
}

/**
 * @psalm-pure
 *
 * @param mixed $value
 */
function nullOrFloat($value): ?float
{
    Assert::nullOrFloat($value);

    return $value;
}

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

    return $value;
}

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

    return $value;
}

Function Calls

None

Variables

None

Stats

MD5 8ef721abba680b15cee6d64cfd1f2353
Eval Count 0
Decode Time 85 ms