[kronolith] What means "a:0:{}"

Ferdinand Gruber fer.grub at yahoo.de
Wed Apr 3 10:26:02 UTC 2019


Am 03.04.19 um 06:35 schrieb Ralf Lang:
> Hi Ferdinand
>
> This is a serialisation String for an array/hash of structured data. 
> They are handled with php serialize / unserialize. a:0 would be an 
> empty array iirc
>
> Am 3. April 2019 00:04:47 MESZ schrieb Ferdinand Gruber 
> <fer.grub at yahoo.de>:
>
>     Hi,
>
>     in table kronolith_events I see some fields with this value "a:0:{}".
>
>     That seems to be the default value for several fields.
>
>     Please can you explain to me what this entry means. Is this value important?
>
>     Thank you very much.
>
>
> -- 
> Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. 

As I made a little program that creates new events in the 
kronolith_events table, please allow me the question:

Should that fields be set to "a:0:{}" as default value?

Thank you in advance for help.

-- 
Regards from Austria
Ferdinand Gruber



More information about the kronolith mailing list