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;
use OpenApi\Annotations as OA;
/**
* @OA\Schema(
* schema="UsingVar",
* required={"name"},
* @OA\Attachable,
* @OA\Attachable
* )
*/
class UsingVar
{
/**
* @var string
*
* @OA\Property
*/
private $name;
/**
* @var \DateTimeInterface
*
* @OA\Property(ref="#/components/schemas/date")
*/
private $createdAt;
}
/**
* @OA\Schema(
* schema="date",
* type="datetime"
* )
*/
class UsingVarSchema
{
}
?>
Did this file decode correctly?
Original Code
<?php declare(strict_types=1);
/**
* @license Apache 2.0
*/
namespace OpenApi\Tests\Fixtures;
use OpenApi\Annotations as OA;
/**
* @OA\Schema(
* schema="UsingVar",
* required={"name"},
* @OA\Attachable,
* @OA\Attachable
* )
*/
class UsingVar
{
/**
* @var string
*
* @OA\Property
*/
private $name;
/**
* @var \DateTimeInterface
*
* @OA\Property(ref="#/components/schemas/date")
*/
private $createdAt;
}
/**
* @OA\Schema(
* schema="date",
* type="datetime"
* )
*/
class UsingVarSchema
{
}
Function Calls
None |
Stats
MD5 | 33df96ad10bb2fd4dd662faea4945609 |
Eval Count | 0 |
Decode Time | 79 ms |