roundcubemail/program/lib/Roundcube/rcube_cache.php
private function serialize($data)
    {
        if ($this->type == 'db') {
            return $this->db->encode($data, $this->packed);
        }

        return $this->packed ? serialize($data) : $data;
    }
private function serialize($data)
    {
        if ($this->type == 'db') {
            return $this->db->encode($data, $this->packed);
        }

        return $this->packed ? serialize($data) : $data;
    }
private function serialize ( $ data ) { if ( $ this -> type == 'db' ) { return $ this -> db -> encode ( $ data , $ this -> packed ) ; } return $ this -> packed ? serialize ( $ data ) : $ data ; }
Serializes data for storing
Serializes data for storing