source/Redis/Connection.php
public function getbit($key, $offset) {
        $offset = (int) $offset;
        try {
            $result = $this->getRedis()->getBit($key, $offset);
            if ($result !== false) {
                return $result;
            }
            throw new ImpossibleValueException();
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function getbit($key, $offset) {
        $offset = (int) $offset;
        try {
            $result = $this->getRedis()->getBit($key, $offset);
            if ($result !== false) {
                return $result;
            }
            throw new ImpossibleValueException();
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function getbit ( $ key , $ offset ) { $ offset = ( int ) $ offset ; try { $ result = $ this -> getRedis ( ) -> getBit ( $ key , $ offset ) ; if ( $ result !== false ) { return $ result ; } throw new ImpossibleValueException ( ) ; } catch ( RedisException $ ex ) { throw new ConnectException ( ) ; } }
Get key bit
@param string $key key
@param int $offset bit offset
@return int bit value at the offset
@throws ConnectException exception on connection to redis instance
Get key bit