in reply to String to PERL data structure

The problem is that this PHP is not written in Perl. You will need some kind of parser for the subset of PHP which appears in your dumps. I did not find an Inline::PHP on cpan, but that is the kind of thing you will need. Parse::RecDescent may help if you need to write one.

After Compline,
Zaxo