I have this array
Array ( [data] => Array ( [0] => Array ( [page_id] => 204725966262837 [type] => WEBSITE
I know this is an old question but if you want a parseable PHP representation you could use:
$parseablePhpCode = var_export($yourVariable,true);
If you echo the exported code to a file.php (with a return statement) you may require it as
$yourVariable = require('file.php');