diff --git a/examples/CustomDistributionStrategy.php b/examples/CustomDistributionStrategy.php index 3dd279c6..3845a022 100644 --- a/examples/CustomDistributionStrategy.php +++ b/examples/CustomDistributionStrategy.php @@ -1,5 +1,6 @@ getClientFor('second')->info(); printf("Server '%s' has %d keys while server '%s' has %d keys.\n", 'first', $server1['db15']['keys'], 'second', $server2['db15']['keys'] ); -?> diff --git a/examples/KeyPrefixes.php b/examples/KeyPrefixes.php index fe614edb..9ce94a24 100644 --- a/examples/KeyPrefixes.php +++ b/examples/KeyPrefixes.php @@ -1,5 +1,6 @@ string(7) "nrk:lol" } */ -?> diff --git a/examples/MultiExecTransactionsWithCAS.php b/examples/MultiExecTransactionsWithCAS.php index cd07fd56..0a28eaf6 100644 --- a/examples/MultiExecTransactionsWithCAS.php +++ b/examples/MultiExecTransactionsWithCAS.php @@ -1,5 +1,6 @@ diff --git a/examples/MultipleSetAndGet.php b/examples/MultipleSetAndGet.php index 906a5a0a..7f6c1a1e 100644 --- a/examples/MultipleSetAndGet.php +++ b/examples/MultipleSetAndGet.php @@ -1,5 +1,6 @@ Third user ) */ -?> diff --git a/examples/PipelineContext.php b/examples/PipelineContext.php index 7e20c2af..f822ad33 100644 --- a/examples/PipelineContext.php +++ b/examples/PipelineContext.php @@ -1,5 +1,6 @@ diff --git a/examples/PubSubContext.php b/examples/PubSubContext.php index 4b9fed61..f09b8a6e 100644 --- a/examples/PubSubContext.php +++ b/examples/PubSubContext.php @@ -1,5 +1,6 @@ info(); print_r("Goodbye from Redis v{$info['redis_version']}!\n"); -?> diff --git a/examples/SharedConfigurations.php b/examples/SharedConfigurations.php index 4a6f4cb2..a176ecee 100644 --- a/examples/SharedConfigurations.php +++ b/examples/SharedConfigurations.php @@ -1,4 +1,5 @@ 'second', ), ); -?> diff --git a/examples/SimpleDebuggableConnection.php b/examples/SimpleDebuggableConnection.php index f6cd2444..98670b10 100644 --- a/examples/SimpleDebuggableConnection.php +++ b/examples/SimpleDebuggableConnection.php @@ -1,5 +1,6 @@ INFO <- 127.0.0.1:6379 [0.0025s] ) */ -?> diff --git a/examples/SimpleSetAndGet.php b/examples/SimpleSetAndGet.php index 9a39f447..05fa5f4d 100644 --- a/examples/SimpleSetAndGet.php +++ b/examples/SimpleSetAndGet.php @@ -1,5 +1,6 @@ set('library', 'predis'); $retval = $redis->get('library'); -print_r($retval); +var_dump($retval); /* OUTPUT -predis +string(6) "predis" */ -?>