我有一个长数组,如下所示:
Kiwwito\TuentiAPI\Object\APIObjectList Object
(
[objects:protected] => Array
(
[0] => Kiwwito\TuentiAPI\Object\User Object
(
[data:protected] => Array
(
[id] => 60993525
[name] => Danny
[surname] => Mathews
[avatar] => Array
(
[0] => http://ak3.img.tuenti.net/HexB8wOXNRSADG6AGQAMgAvAGQ
[1] => 50
[2] => 50
)
[sex] => 1
[phone_number] =>
[chat_server] => xmpp4.tuenti.com
)
[structure:protected] =>
)
该数组比这长得多,但它相似,我想在列表中一个接一个地打印数组中所有条目的名称值。希望你能理解。提前致谢。