<?php $foo = unserialize('a:3:{s:7:"modules";s:5:"mymod";s:3:"act";s:3:"url";s:6:"mysite";s:6:"number";}'); var_export($foo);
Standard input is empty
array ( 'modules' => 'mymod', 'act' => 'url', 'mysite' => 'number', )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!