How can I parse the output of var_dump in PHP to create an array?
var_dump
var_export creates the PHP code, which you can run through the eval.
But I wonder, what is your idea?