Dear who ever reads this

I have a Java web service using JAX-B. Recently I've been trying to use php to write a client side for this service. Everything has been working good, Php is still as cool as I've left it. I just have a small problem I don't know if it's me or php5.3.

One of my Java web methods returns an array of integers. php gets the response as hashtable - using $client->__getTypes() - which is good. but if I tried to var_dump items in the hashtable I get:
object(stdClass)#3 (0) { }
object(stdClass)#4 (0) { }
object(stdClass)#5 (0) { }
object(stdClass)#6 (0) { }
object(stdClass)#7 (0) { }
object(stdClass)#8 (0) { }
object(stdClass)#9 (0) { }
where it should be [29, 32, 36, 37, 38, 39, 66]

Any ideas?