[geeklog-devel] Strange storage of strings (and other data) in gl_conf_values

Aaron Blankstein blanks at mit.edu
Mon Mar 3 14:29:37 EST 2008


Yep, that was the idea.

On Mon, Mar 3, 2008 at 2:10 PM, Dirk Haun <dirk at haun-online.de> wrote:

> Blank, Jessica wrote:
>
> >In gl_conf_values, strings
> >aren't stored as 'foo', they're stored like 's:3:"foo";', where 3 is the
> >length of the string 'foo'.
>
> That's PHP's serialisation format. I guess the motivation was that the
> db field can contain things other than strings and so it adds a little
> type-safeness.
>
> Correct, Aaron?
>
> bye, Dirk
>
>
> --
> http://www.geeklog.net/
> http://geeklog.info/
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20080303/bf457df2/attachment.html>


More information about the geeklog-devel mailing list