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 /** * This file is part of PhpRedisJSON library * * @project phpredis-json * @..

Decoded Output download

<?php
/**
 * This file is part of PhpRedisJSON library
 *
 * @project   phpredis-json
 * @author    Rafael Campoy <[email protected]>
 * @copyright 2019 Rafael Campoy <[email protected]>
 * @license   MIT
 * @link      https://github.com/averias/phpredis-json
 *
 * Copyright and license information, is included in
 * the LICENSE file that is distributed with this source code.
 */

namespace Averias\RedisJson\Enum;

use MyCLabs\Enum\Enum;

class Connection extends Enum
{
    const HOST = 'host';
    const PORT = 'port';
    const TIMEOUT = 'timeout';
    const RETRY_INTERVAL = 'retryInterval';
    const READ_TIMEOUT = 'readTimeout';
    const PERSISTENCE_ID = 'persistenceId';
    const DATABASE = 'database';

    const DEFAULT = [
        self::HOST => '127.0.0.1',
        self::PORT => 6379,
        self::TIMEOUT => 0.0,
        self::RETRY_INTERVAL => 0,
        self::READ_TIMEOUT => 0,
        self::PERSISTENCE_ID => null,
        self::DATABASE => 0
    ];
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * This file is part of PhpRedisJSON library
 *
 * @project   phpredis-json
 * @author    Rafael Campoy <[email protected]>
 * @copyright 2019 Rafael Campoy <[email protected]>
 * @license   MIT
 * @link      https://github.com/averias/phpredis-json
 *
 * Copyright and license information, is included in
 * the LICENSE file that is distributed with this source code.
 */

namespace Averias\RedisJson\Enum;

use MyCLabs\Enum\Enum;

class Connection extends Enum
{
    const HOST = 'host';
    const PORT = 'port';
    const TIMEOUT = 'timeout';
    const RETRY_INTERVAL = 'retryInterval';
    const READ_TIMEOUT = 'readTimeout';
    const PERSISTENCE_ID = 'persistenceId';
    const DATABASE = 'database';

    const DEFAULT = [
        self::HOST => '127.0.0.1',
        self::PORT => 6379,
        self::TIMEOUT => 0.0,
        self::RETRY_INTERVAL => 0,
        self::READ_TIMEOUT => 0,
        self::PERSISTENCE_ID => null,
        self::DATABASE => 0
    ];
}

Function Calls

None

Variables

None

Stats

MD5 dab36c2abea4c22914ee86db1c3e8a9d
Eval Count 0
Decode Time 135 ms