From: Peter Cooper Date: 2007-08-20T08:32:27+09:00 Subject: Re: Unmarshal object with PHP ------=_Part_60425_30838468.1187566351301 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/20/07, drogus@gmail.com wrote: > > Hi, > > Is there any implamentation of something like Marshal.dump in PHP? Or > any implementation that is easily readable, so I could rewrite it into > PHP? :) (I can't figure out what's going on in C files from ruby > core ;-) What you need to figure out (or what you might need to tell us) is if you mean you want to do some cross-language serialization based on Marshal, or if you're just looking for a PHP *equivalent* of Marshal (but not necessarily cross language compatible). Given the topic of this list, I'll assume the former for now! Someone else might be able to help with an implementation, but otherwise you might find this rather useful: http://redhanded.hobix.com/inspect/theMarshWalker.html Cheers, Peter Cooper http://www.rubyinside.com/ ------=_Part_60425_30838468.1187566351301--