Original: array(3) { [0]=> string(3) "foo" [1]=> string(3) "bar" [2]=> string(3) "baz" } Imploded is 'foo:bar:baz'. Serialized is 'a:3:{i:0;s:3:"foo";i:1;s:3:"bar";i:2;s:3:"baz";}'. Exploded: array(3) { [0]=> string(3) "foo" [1]=> string(3) "bar" [2]=> string(3) "baz" } Unserialized: array(3) { [0]=> string(3) "foo" [1]=> string(3) "bar" [2]=> string(3) "baz" } ---------------------- Original: array(3) { ["foo"]=> int(12) ["bar"]=> int(24) ["baz"]=> int(18) } Imploded is '12:24:18'. Serialized is 'a:3:{s:3:"foo";i:12;s:3:"bar";i:24;s:3:"baz";i:18;}'. Exploded: array(3) { [0]=> string(2) "12" [1]=> string(2) "24" [2]=> string(2) "18" } Unserialized: array(3) { ["foo"]=> int(12) ["bar"]=> int(24) ["baz"]=> int(18) }