예제 #1
0
파일: hmget.php 프로젝트: cjq/redis-async
<?php

require __DIR__ . '/../src/Swoole/Async/RedisClient.php';
$redis = new Swoole\Async\RedisClient('127.0.0.1');
//$redis->debug = true;
$redis->hmget('hash2', array('key1', 'noexists', 'key2', 'key3'), function ($result, $success) {
    var_dump($result);
});