object2array
// The second parameter of json_decode forces parsing into an associative array $array = json_decode(json_encode($object), true);