1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- require 'SharedConfigurations.php';
- $mkv = array(
- 'usr:0001' => 'First user',
- 'usr:0002' => 'Second user',
- 'usr:0003' => 'Third user'
- );
- $client = new Predis\Client($single_server);
- $client->mset($mkv);
- $retval = $client->mget(array_keys($mkv));
- print_r($retval);
|