roundcubemail/program/lib/Roundcube/rcube_session.php
protected function serialize($vars)
    {
        $data = '';
        if (is_array($vars)) {
            foreach ($vars as $var=>$value)
                $data .= $var.'|'.serialize($value);
        }
        else {
            $data = 'b:0;';
        }

        return $data;
    }
protected function serialize($vars)
    {
        $data = '';
        if (is_array($vars)) {
            foreach ($vars as $var=>$value)
                $data .= $var.'|'.serialize($value);
        }
        else {
            $data = 'b:0;';
        }

        return $data;
    }
protected function serialize ( $ vars ) { $ data = '' ; if ( is_array ( $ vars ) ) { foreach ( $ vars as $ var => $ value ) $ data .= $ var . '|' . serialize ( $ value ) ; } else { $ data = 'b:0;' ; } return $ data ; }
Serialize session data
Serialize session data