Answer the question
In order to leave comments, you need to log in
How to get all id values from nested objects?
There is an object:
object(stdClass)#3 (13) {
["id"]=>
int(111)
["attachments"]=>
array(1) {
[0]=>
object(stdClass)#4 (2) {
["photo"]=>
object(stdClass)#5 (9) {
["id"]=>
int(222)
...
...
[111, 222]
.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question