我有各种看起来像这样的对象:
Array
(
[0] => stdClass Object
(
[tid] => 18
[vid] => 1
[name] => test
[description] =>
[format] =>
[weight] => 0
[depth] => 0
[parents] => Array
(
[0] => 0
)
)
[1] => stdClass Object
(
[tid] => 21
[vid] => 1
[name] => tag
[description] =>
[format] =>
[weight] => 0
[depth] => 0
[parents] => Array
(
[0] => 0
)
)
)
基本上我需要找出这些对象中存在 [name] 值的天气,我该怎么做呢?