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 /** @phpstub */ class MongoBinData { const BYTE_ARRAY = 2; const CUSTOM = 1..

Decoded Output download

<?php

/** @phpstub */
class MongoBinData
{
    const BYTE_ARRAY = 2;
    const CUSTOM = 128;
    const FUNC = 1;
    const MD5 = 5;
    const UUID = 3;

    /** @var int */
    public $type;

    /** @var string */
    public $bin;

    /**
     * Creates a new binary data object.
     *
     * @param string $data
     * @param int $type
     */
    public function __construct($data, $type = 2)
    {
    }

    /**
     * The string representation of this binary data object.
     *
     * @return string Returns the string "ltMongo Binary Datagt".  To access the contents of a
     *                ``MongoBinData``, use the  field.
     */
    public function __toString()
    {
    }
} ?>

Did this file decode correctly?

Original Code

<?php

/** @phpstub */
class MongoBinData
{
    const BYTE_ARRAY = 2;
    const CUSTOM = 128;
    const FUNC = 1;
    const MD5 = 5;
    const UUID = 3;

    /** @var int */
    public $type;

    /** @var string */
    public $bin;

    /**
     * Creates a new binary data object.
     *
     * @param string $data
     * @param int $type
     */
    public function __construct($data, $type = 2)
    {
    }

    /**
     * The string representation of this binary data object.
     *
     * @return string Returns the string "ltMongo Binary Datagt".  To access the contents of a
     *                ``MongoBinData``, use the  field.
     */
    public function __toString()
    {
    }
}

Function Calls

None

Variables

None

Stats

MD5 d131ada67f1bdf6ab1d4435a519cde8a
Eval Count 0
Decode Time 75 ms