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 define('DEBUG', 'on'); define('WEBPATH', realpath(__DIR__ . '/..')); // require WEBP..

Decoded Output download

<?php
define('DEBUG', 'on');
define('WEBPATH', realpath(__DIR__ . '/..'));
//
require WEBPATH . '/libs/lib_config.php';

$config = array(
    'host' => '127.0.0.1',
    'port' => '6379',
);

$pool = new Swoole\Async\Redis($config, 10);

$pool->get("key", function ($redis, $result) use ($pool)
{
    echo "get key: ";
    var_dump($result);
    $redis->incr("key_hello", function ($redis, $result) use ($pool)
    {
        echo "incr key_hello: ";
        var_dump($result);
    });
}); ?>

Did this file decode correctly?

Original Code

<?php
define('DEBUG', 'on');
define('WEBPATH', realpath(__DIR__ . '/..'));
//
require WEBPATH . '/libs/lib_config.php';

$config = array(
    'host' => '127.0.0.1',
    'port' => '6379',
);

$pool = new Swoole\Async\Redis($config, 10);

$pool->get("key", function ($redis, $result) use ($pool)
{
    echo "get key: ";
    var_dump($result);
    $redis->incr("key_hello", function ($redis, $result) use ($pool)
    {
        echo "incr key_hello: ";
        var_dump($result);
    });
});

Function Calls

define 1

Variables

None

Stats

MD5 342a04fdce0753c19c50378bc3a85745
Eval Count 0
Decode Time 119 ms