Ruby PHP Serializer

What is it?

A Ruby module providing equivilents of PHP's serialize() and unserialize() functions.

It supports Array, Hash, String, Fixnum, Float, NilClass, TrueClass, FalseClass, and Struct, and can unserialize arbitary PHP objects (although it can't yet serialize them again).

Where do I get it?

Listing of /files/ruby/php_serialize.rb
FilenameFilesizeLast Modified
php_serialize.rb9.4k2004-09-17 07:09

How do I use it?

Read the comments at the top of the file, n00b.