I have an object BIRD and then there is [0] through [10] and each number has a subheading like \"bug\" or \"beetle\" or \"gnat\" and a value for each of those.
I wan
You could easily do it by type casting the object:
$keys = array_keys((array)$BIRD);