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 declare(strict_types=1); namespace ContainerArrayAccess; use Illuminate\Container..
Decoded Output download
<?php
declare(strict_types=1);
namespace ContainerArrayAccess;
use Illuminate\Container\Container;
use function PHPStan\TestingssertType;
/** @param 'auth'|'translator' $arg */
function test(Container $app, string $arg): void
{
assertType('Illuminate\Auth\AuthManager', $app['auth']);
assertType('Illuminate\Translation\Translator', $app['translator']);
assertType('Illuminate\Auth\AuthManager|Illuminate\Translation\Translator', $app[$arg]);
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace ContainerArrayAccess;
use Illuminate\Container\Container;
use function PHPStan\Testing\assertType;
/** @param 'auth'|'translator' $arg */
function test(Container $app, string $arg): void
{
assertType('Illuminate\Auth\AuthManager', $app['auth']);
assertType('Illuminate\Translation\Translator', $app['translator']);
assertType('Illuminate\Auth\AuthManager|Illuminate\Translation\Translator', $app[$arg]);
}
Function Calls
None |
Stats
MD5 | 561e5489c60f0ad7b55fe63a3542ed52 |
Eval Count | 0 |
Decode Time | 98 ms |