There is a module for that: PHP::Serialization
In reply to Re: Unserialize String to hash by Taulmarill in thread Unserialize String to hash by santosh_vjit