public function decr($key, $offset = 1)
    {
        /**
         * decr <key> <value> [noreply]\r\n
         */

        // Build packet to send ...
        $data = self::COMMAND_DECR . self::COMMAND_SEPARATOR   .
                $key                   . self::COMMAND_SEPARATOR   .
                $offset                . self::COMMAND_TERMINATOR;

        return $this->send(self::COMMAND_DECR, $data);
    }
public function decr($key, $offset = 1)
    {
        /**
         * decr <key> <value> [noreply]\r\n
         */

        // Build packet to send ...
        $data = self::COMMAND_DECR . self::COMMAND_SEPARATOR   .
                $key                   . self::COMMAND_SEPARATOR   .
                $offset                . self::COMMAND_TERMINATOR;

        return $this->send(self::COMMAND_DECR, $data);
    }
public function decr ( $ key , $ offset = 1 ) { /**
         * decr <key> <value> [noreply]\r\n
         */ // Build packet to send ... $ data = self :: COMMAND_DECR . self :: COMMAND_SEPARATOR . $ key . self :: COMMAND_SEPARATOR . $ offset . self :: COMMAND_TERMINATOR ; return $ this -> send ( self :: COMMAND_DECR , $ data ) ; }
Decrements an existing key by offset.
Does currently not support the creation of not existing keys.

@param string $key          The key to decrement
@param int    $offset       How much to decrement

@author Benjamin Carl <opensource@clickalicious.de>
@return string The result of operation
@access public
Decrements an existing key by offset . Does currently not support the creation of not existing keys .