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\Http\Request; use function PHPStan\Testing\assertType; class TestE..

Decoded Output download

<?php

use Illuminate\Http\Request;

use function PHPStan\TestingssertType;

class TestEnum
{
}

$request = Request::create('/', 'GET', [
    'key' => 'test',
]);

assertType('TestEnum|null', $request->enum('key', TestEnum::class));
 ?>

Did this file decode correctly?

Original Code

<?php

use Illuminate\Http\Request;

use function PHPStan\Testing\assertType;

class TestEnum
{
}

$request = Request::create('/', 'GET', [
    'key' => 'test',
]);

assertType('TestEnum|null', $request->enum('key', TestEnum::class));

Function Calls

None

Variables

None

Stats

MD5 48a573fa645c80d95884708844131a5e
Eval Count 0
Decode Time 86 ms