How can I convert an array like this to an object?
[128] => Array ( [status] => "Figure A. Facebook\'s horizontal scrollbars showing u
There's no built-in method to do it as far as I'm aware, but it's as easy as a simple loop:
$obj= new stdClass(); foreach ($array as $k=> $v) { $obj->{$k} = $v; }
You can expound on that if you need it to build your object recursively.