Minor code and formatting changes for the example files.

This commit is contained in:
Daniele Alessandri
2011-04-25 14:22:34 +02:00
parent 21372bef6d
commit b5a1ba9795
9 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -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";
?>