Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 11, 2007, 11:52 am
rate this thread
we are looking for an efficient method to transport array structures from a
php script to some other engine. Currently we offer phps internal serialize
function and (if present) the json encoding. For installations where the
latter is _not_ present we are looking for something else, especially to
hand over arrays to perl.
Now there is a perl class living in CPAN that can unserialize php-serialized
arrays but I wonder if there is some (already existing) way to generate a
perl-freeze representations from within php ?
Does anyone have a hint here, or maybe an alternative?
Re: perl-freeze like alternative to php_serialize()
Thanks for the hint, I'll give it a glimpse. I am always a fan of more than
one possible solution, this adds stability to the general solution...
Actually I have to admit that we are now using JSON more intense. I realized
in the meantime that JSON is availible as a PECL extension that's quite
easy to install. Works like charm :-)