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\Cache\Repository; use function PHPStan\Testing\assertType; /** @va..
Decoded Output download
<?php
use Illuminate\Cache\Repository;
use function PHPStan\TestingssertType;
/** @var Repository $cache */
$cache = resolve(Repository::class);
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\Cache\Repository;
use function PHPStan\Testing\assertType;
/** @var Repository $cache */
$cache = resolve(Repository::class);
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 |
Stats
MD5 | ddac24c86a08acb1e4395617e24195d8 |
Eval Count | 0 |
Decode Time | 99 ms |