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); /** * @license Apache 2.0 */ namespace OpenApi\Tests\Fi..
Decoded Output download
<?php declare(strict_types=1);
/**
* @license Apache 2.0
*/
namespace OpenApi\Tests\Fixtures\Scratch;
use OpenApi\Attributes as OAT;
#[OAT\Schema(schema: 'YoYo')]
class ClassRef
{
}
#[OAT\Info(title: 'ClassRef', version: '1.0')]
#[OAT\Get(
path: '/endpoint',
responses: [
new OAT\Response(
response: 200,
description: 'All good',
content: new OAT\JsonContent(ref: ClassRef::class)
),
]
)]
class ClassRefEndpoint
{
}
?>
Did this file decode correctly?
Original Code
<?php declare(strict_types=1);
/**
* @license Apache 2.0
*/
namespace OpenApi\Tests\Fixtures\Scratch;
use OpenApi\Attributes as OAT;
#[OAT\Schema(schema: 'YoYo')]
class ClassRef
{
}
#[OAT\Info(title: 'ClassRef', version: '1.0')]
#[OAT\Get(
path: '/endpoint',
responses: [
new OAT\Response(
response: 200,
description: 'All good',
content: new OAT\JsonContent(ref: ClassRef::class)
),
]
)]
class ClassRefEndpoint
{
}
Function Calls
None |
Stats
MD5 | b9949aca20d7ceeb8c0fb2a63f44a430 |
Eval Count | 0 |
Decode Time | 173 ms |