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\Requests\API\ObjectStorage\S3; use App\Http\Requests\API\Object..

Decoded Output download

<?php

namespace App\Http\Requests\API\ObjectStorage\S3;

use App\Http\Requests\API\ObjectStorage\S3\Request as BaseRequest;

/**
 * @property string   $bucket
 * @property array<string> $tags
 * @property string   $key
 */
class PutSongRequest extends BaseRequest
{
    /** @return array<mixed> */
    public function rules(): array
    {
        return [
            'bucket' => 'required',
            'key' => 'required',
            'tags.duration' => 'required|numeric',
        ];
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\Http\Requests\API\ObjectStorage\S3;

use App\Http\Requests\API\ObjectStorage\S3\Request as BaseRequest;

/**
 * @property string   $bucket
 * @property array<string> $tags
 * @property string   $key
 */
class PutSongRequest extends BaseRequest
{
    /** @return array<mixed> */
    public function rules(): array
    {
        return [
            'bucket' => 'required',
            'key' => 'required',
            'tags.duration' => 'required|numeric',
        ];
    }
}

Function Calls

None

Variables

None

Stats

MD5 a5d638a959615041d15e442fbd5b2f85
Eval Count 0
Decode Time 102 ms