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 OpenApi\Examples\SwaggerSpec\Petstore; use OpenApi\Annotations as OA; /..

Decoded Output download

<?php

namespace OpenApi\Examples\SwaggerSpec\Petstore;

use OpenApi\Annotations as OA;

/**
 * @OA\Schema(required={"id", "name"})
 */
class Pet
{
    /**
     * @OA\Property(type="integer", format="int64")
     */
    public $id;

    /**
     * @OA\Property
     *
     * @var string
     */
    public $name;

    /**
     * @OA\Property
     *
     * @var string
     */
    public $tag;
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace OpenApi\Examples\SwaggerSpec\Petstore;

use OpenApi\Annotations as OA;

/**
 * @OA\Schema(required={"id", "name"})
 */
class Pet
{
    /**
     * @OA\Property(type="integer", format="int64")
     */
    public $id;

    /**
     * @OA\Property
     *
     * @var string
     */
    public $name;

    /**
     * @OA\Property
     *
     * @var string
     */
    public $tag;
}

Function Calls

None

Variables

None

Stats

MD5 1a154c22d6e8de3272de7983c011ecd9
Eval Count 0
Decode Time 95 ms