[geeklog-devel] Strange storage of strings (and other data) in gl_conf_values
Dirk Haun
dirk at haun-online.de
Mon Mar 3 14:10:07 EST 2008
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/
More information about the geeklog-devel
mailing list