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\Parser\Response;

use Averias\RedisJson\Exception\ResponseException;
use Averias\RedisJson\Parser\ParserInterface;

class DecodeFromJson extends BaseJsonDecoderParser implements ParserInterface
{
    /**
     * @param string|bool $response
     * @return mixed
     * @throws ResponseException
     */
    public function parse($response)
    {
        return $this->decodeIfNotFalse($response);
    }
}
 ?>

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\Parser\Response;

use Averias\RedisJson\Exception\ResponseException;
use Averias\RedisJson\Parser\ParserInterface;

class DecodeFromJson extends BaseJsonDecoderParser implements ParserInterface
{
    /**
     * @param string|bool $response
     * @return mixed
     * @throws ResponseException
     */
    public function parse($response)
    {
        return $this->decodeIfNotFalse($response);
    }
}

Function Calls

None

Variables

None

Stats

MD5 7b0ea2ba19d9e7ffbedf9059825889ff
Eval Count 0
Decode Time 114 ms