Tagged with php - Visokio Forums http://forums.visokio.com/discussions/tagged/php/feed.rss Mon, 30 Oct 17 19:31:04 -0400 Tagged with php - Visokio Forums en-CA Sources: How to unserialize php data? http://forums.visokio.com/discussion/2173/sources-how-to-unserialize-php-datas Wed, 29 May 2013 03:34:27 -0400 naruemon 2173@/discussions
One of our data sources is kept as serialized data from php serialize() function.

The data is in the following format:
a:3:{i:0;s:2:"74";i:1;s:3:"185";i:2;s:3:"151";} --> total data is 3 contains 74, 185, 151
a:2:{i:0;s:3:"120";i:1;s:3:"119";} --> total data is 2 contains 120, 119
The number of info in this format is vary from 1 - 200.

I would like to get the data in easier format to manage. So I could use de-tokenize function to organize data. Do we have any function to manage this format of data? Thank you.]]>