I'm using CSV Import Suite for WooCommerce. One of the columns has to be a serialized array.
I'm trying to find out, how the serialize function in PHP works, as I need to recreate that in Excel. I have a simple array:
array(0 => 'text', 2 => 'some other text')
which gives me:
a:2:{i:0;s:4:"text";i:2;s:15:"some other text";}
What's the logic of how the serialized string is built?