tests/RedisTest.php
// msgpack 2.0.1, compatible with PHP 7
msgpack 2.0.1, compatible with PHP 7
msgpack 2 . 0 . 1 compatible with PHP 7
public function testSetSerializerToMsgpack()
    {
        if (defined('Redis::SERIALIZER_MSGPACK')) {
            $this->cache->setSerializer('msgpack');
            $this->assertSame(
                \Redis::SERIALIZER_MSGPACK, $this->cache->getSerializer()
            );
        }
    }
public function testSetSerializerToMsgpack ( ) { if ( defined ( 'Redis::SERIALIZER_MSGPACK' ) ) { $ this -> cache -> setSerializer ( 'msgpack' ) ; $ this -> assertSame ( \ Redis :: SERIALIZER_MSGPACK , $ this -> cache -> getSerializer ( ) ) ; } }
msgpack 2.0.1, compatible with PHP 7
msgpack 2 . 0 . 1 compatible with PHP 7