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 GateFacade; use App\User; use Illuminate\Support\Facades\Gate; use func..
Decoded Output download
<?php
namespace GateFacade;
use App\User;
use Illuminate\Support\Facades\Gate;
use function PHPStan\Testing\assertType;
function test(): void
{
assertType('Illuminate\Auth\Access\Gate', Gate::forUser(new User()));
assertType('Illuminate\Auth\Access\Response', Gate::inspect('foo'));
assertType('bool', Gate::has('foo'));
}
?>
Did this file decode correctly?
Original Code
<?php
namespace GateFacade;
use App\User;
use Illuminate\Support\Facades\Gate;
use function PHPStan\Testing\assertType;
function test(): void
{
assertType('Illuminate\Auth\Access\Gate', Gate::forUser(new User()));
assertType('Illuminate\Auth\Access\Response', Gate::inspect('foo'));
assertType('bool', Gate::has('foo'));
}
Function Calls
None |
Stats
MD5 | 9a2db1688ae6a151b635cca53e455c11 |
Eval Count | 0 |
Decode Time | 82 ms |