Parsing serialized PHP arrays in "C"
| From: | Kevin Wilcox | Date: | Sat, 21 Oct 2006 23:25:51 +0000 |
| Subject: | Parsing serialized PHP arrays in "C" | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-243429@lists.php.net to get a copy of this message | ||
I have a feeling this may be the wrong group to ask this question, but
I thought that if it is, someone can point me in the right direction.
I'm working on a application written in "C" that needs to parse and
understand php arrays that have been serialized and stored in a MySQL
table. I started writing the parser and realized its not a trivial
task. I'm wondering if there is any source code in C to do what I'm
looking for? I googled many different combinations of keywords and
nothing useful came up. I even looked at the code in
ext/standard/var_unserializer.c, and I don't think what will port to a
stand alone application without extensive modifications.
Any help would be greatly appreciated.
Thanks,
Kevin