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 use App\User; function transformAcceptsNonNullableCallable(): void { transform..

Decoded Output download

<?php

use App\User;

function transformAcceptsNonNullableCallable(): void
{
    transform(User::first(), fn (User $user) => $user->toArray());
}

function retryAcceptsCallableAsSleepMilliseconds(): void
{
    retry(5, function (int $attempt): bool {
        return false;
    }, function (int $attempt, \Exception $e): int {
        return 0;
    }, function (\Exception $e): bool {
        return true;
    });
}
 ?>

Did this file decode correctly?

Original Code

<?php

use App\User;

function transformAcceptsNonNullableCallable(): void
{
    transform(User::first(), fn (User $user) => $user->toArray());
}

function retryAcceptsCallableAsSleepMilliseconds(): void
{
    retry(5, function (int $attempt): bool {
        return false;
    }, function (int $attempt, \Exception $e): int {
        return 0;
    }, function (\Exception $e): bool {
        return true;
    });
}

Function Calls

None

Variables

None

Stats

MD5 3ee7279d020970aba3a8604e68f74d8e
Eval Count 0
Decode Time 84 ms