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\PetstoreSwaggerIo\Models; use OpenApi\Annotations as OA..

Decoded Output download

<?php

namespace OpenApi\Examples\PetstoreSwaggerIo\Models;

use OpenApi\Annotations as OA;

/**
 * @OA\Schema(@OA\Xml(name="User"))
 */
class User
{
    /**
     * @OA\Property(format="int64")
     *
     * @var int
     */
    public $id;

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

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

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

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

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

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

    /**
     * User Status.
     *
     * @var int
     *
     * @OA\Property(format="int32")
     */
    public $userStatus;
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace OpenApi\Examples\PetstoreSwaggerIo\Models;

use OpenApi\Annotations as OA;

/**
 * @OA\Schema(@OA\Xml(name="User"))
 */
class User
{
    /**
     * @OA\Property(format="int64")
     *
     * @var int
     */
    public $id;

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

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

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

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

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

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

    /**
     * User Status.
     *
     * @var int
     *
     * @OA\Property(format="int32")
     */
    public $userStatus;
}

Function Calls

None

Variables

None

Stats

MD5 8f72914302b6f3c6a0de70f083d73d8c
Eval Count 0
Decode Time 111 ms