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 App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Illum..

Decoded Output download

<?php

namespace App\Http\Middleware;

use Closure;
use Illuminate\Http\Request;
use Illuminate\Http\Response;

class AudioAuthenticate
{
    public function handle(Request $request, Closure $next) // @phpcs:ignore
    {
        abort_unless($request->user()?->tokenCan('audio'), Response::HTTP_UNAUTHORIZED);

        return $next($request);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\Http\Middleware;

use Closure;
use Illuminate\Http\Request;
use Illuminate\Http\Response;

class AudioAuthenticate
{
    public function handle(Request $request, Closure $next) // @phpcs:ignore
    {
        abort_unless($request->user()?->tokenCan('audio'), Response::HTTP_UNAUTHORIZED);

        return $next($request);
    }
}

Function Calls

None

Variables

None

Stats

MD5 79cd727d49dcee5cc88733ece352c627
Eval Count 0
Decode Time 94 ms