* Thomas Hurst (tom.hurst / clara.net) wrote:

> Might be handy to some of those web guys using Ruby backends to PHP
> frontends; I've just written PHP::serialize() and PHP::unserialize(),
> which cope with Array, Hash, String, Fixnum, Float, NilClass,
> False/TrueClass both ways, with a minor limitation on Struct (returned
> as Hash for now).

Struct's are now handled, along with (in theory) any other PHP object
instance, which can be mapped to native Ruby objects or an automatically
generated Struct.

It's available at http://www.aagh.net/files/ruby/php_serialize.rb

-- 
Thomas 'Freaky' Hurst  -  freaky / aagh.net  -  http://www.aagh.net/