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 Illuminate\Support\Facades\Cache; use function PHPStan\Testing\assertType; as..

Decoded Output download

<?php

use Illuminate\Support\Facades\Cache;

use function PHPStan\TestingssertType;

assertType('mixed', Cache::get('key'));
assertType('int', Cache::get('cache', 27));
assertType('int', Cache::get('cache', function (): int {
    return 26;
}));

assertType('mixed', Cache::pull('key'));
assertType('int', Cache::pull('cache', 28));
assertType('int', Cache::pull('cache', function (): int {
    return 30;
}));
assertType('int', Cache::sear('cache', function (): int {
    return 33;
}));
assertType('int', Cache::remember('cache', now(), function (): int {
    return 36;
}));
assertType('int', Cache::rememberForever('cache', function (): int {
    return 36;
}));
 ?>

Did this file decode correctly?

Original Code

<?php

use Illuminate\Support\Facades\Cache;

use function PHPStan\Testing\assertType;

assertType('mixed', Cache::get('key'));
assertType('int', Cache::get('cache', 27));
assertType('int', Cache::get('cache', function (): int {
    return 26;
}));

assertType('mixed', Cache::pull('key'));
assertType('int', Cache::pull('cache', 28));
assertType('int', Cache::pull('cache', function (): int {
    return 30;
}));
assertType('int', Cache::sear('cache', function (): int {
    return 33;
}));
assertType('int', Cache::remember('cache', now(), function (): int {
    return 36;
}));
assertType('int', Cache::rememberForever('cache', function (): int {
    return 36;
}));

Function Calls

None

Variables

None

Stats

MD5 1906a7842bcd2617012f5e32af5f9818
Eval Count 0
Decode Time 88 ms