You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.
LICENSE: Released under the Simplified BSD License, see the LICENSE file or http://www.opensource.org/licenses/BSD-2-Clause
System Requirements
PHP 5.3.0 or greater
Examples of usage
Create a redis instant, add some data via a pipe and then return it
<?php
require("rwky-redis.php");
$redis = new \\RWKY\\Redis\\Redis();
$response=$redis->pipe()->set("Question","What is your favourite colour?")->set("Answer","Blue...no yellow..ARGHHHH")->get("Question")->get("Answer")->drain();
print_r($response);
?>
Will output:
<code>Array
(
[0] => 1
[1] => 1
[2] => What is your favourite colour?
[3] => Blue...no yellow..ARGHHHH
)
The code for this example can be found in the examples/example1.php file