I want to convert arrays into storable string formats using a combination of their keys and values bunched together into a serial string delimited by special characters?
But I am also worried that since it is impossible to predict input from a user form, that the input may also contain the characters I have chosen as the delimiters.
Can I implement custom escape sequences to cater for this?
Well the circumstances require that I implement inter-operable, platform independent solutions other than the traditional serialize or json_encode. Most of the times I don't generate the serial, and only have to consume it from external sources.