File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/RedisClient/Cluster/Hash Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
## CHANGELOG
2
2
3
- ### v1.6.0 (2017-01-02 )
3
+ ### v1.6.0 (2017-01-07 )
4
4
- Added support for Redis 4.0 (the Client was tested with Redis 4.0 RC2).
5
5
- Added support for Redis Cluster.
6
- - Added method ** _ syncClusterSlotsFromRedisServer** .
6
+ - Added method ** _ syncClusterSlotsFromRedisServer** for RedisClient .
7
7
- Added command ** SWAPDB** , ** UNLINK** , ** MEMORY** for Redis >= 4.0
8
8
- Updated command ** FLUSHALL** , ** FLUSHDB** for Redis >= 4.0
9
9
Original file line number Diff line number Diff line change 11
11
12
12
/**
13
13
* Transactions
14
- * Note. Be careful in use pipeline with Clusters.
14
+ * Note. Be careful in use transactions with Clusters. Try to use pipeline for it .
15
15
*/
16
16
17
17
namespace Examples ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class Crc16 {
53
53
*/
54
54
public static function hash ($ value ) {
55
55
$ value = (string )$ value ;
56
- $ crc = 0x0000 ;
56
+ $ crc = 0 ;
57
57
for ($ i = 0 , $ len = strlen ($ value ); $ i < $ len ; ++$ i ) {
58
58
$ crc = 0xFFFF & (self ::$ crc16tab [($ crc >> 8 ) ^ ord ($ value [$ i ])] ^ ($ crc << 8 ));
59
59
}
You can’t perform that action at this time.
0 commit comments