convert this     [petro] => stdClass Object
        (
            [USD] => 60
            [EUR] => 56.53
            [RUB] => 4593.73
            [CNY] => 413.55
            [BS] => 1446.25
        ) in array php