Skip to content

Commit 77a2b73

Browse files
committed
markup stress
1 parent 8d9cf21 commit 77a2b73

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ Creates a Redis client
6363

6464
##### *Example*
6565

66+
<pre>
6667
$redis = new Redis();
68+
</pre>
6769

6870
## connect, open
6971
##### *Description*
@@ -82,10 +84,12 @@ Connects to a Redis instance.
8284

8385
##### *Example*
8486

87+
<pre>
8588
$redis->connect('127.0.0.1', 6379);
8689
$redis->connect('127.0.0.1'); // port 6379 by default
8790
$redis->connect('127.0.0.1', 6379, 2.5); // 2.5 sec timeout.
8891
$redis->connect('/tmp/redis.sock'); // unix domain socket.
92+
</pre>
8993

9094
## pconnect, popen
9195
##### *Description*
@@ -114,10 +118,12 @@ persistent equivalents.
114118

115119
##### *Example*
116120

121+
<pre>
117122
$redis->pconnect('127.0.0.1', 6379);
118123
$redis->pconnect('127.0.0.1'); // port 6379 by default - same connection like before.
119124
$redis->pconnect('127.0.0.1', 6379, 2.5); // 2.5 sec timeout and would be another connection then the two before.
120125
$redis->pconnect('/tmp/redis.sock'); // unix domain socket - would be another connection then the three before.
126+
</pre>
121127

122128
## ping
123129
##### *Description*
@@ -148,7 +154,9 @@ Get the value related to the specified key
148154

149155
##### *Examples*
150156

157+
<pre>
151158
$redis->get('key');
159+
</pre>
152160

153161
## set
154162
##### Description

0 commit comments

Comments
 (0)