mirror of
https://github.com/predis/predis.git
synced 2026-08-23 21:59:33 +00:00
Minor code and formatting changes for the example files.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
require_once 'SharedConfigurations.php';
|
||||
|
||||
require 'SharedConfigurations.php';
|
||||
|
||||
/*
|
||||
This is an implementation of an atomic client-side ZPOP using the support for
|
||||
@@ -38,4 +39,3 @@ function zpop($client, $zsetKey) {
|
||||
$redis = new Predis\Client($single_server, 'dev');
|
||||
$zpopped = zpop($redis, 'zset');
|
||||
echo isset($zpopped) ? "ZPOPed $zpopped" : "Nothing to ZPOP!", "\n";
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user