我得到的对象的输出是:
Array
(
[0] => stdClass Object
(
[id] => 1
)
)
[1] => stdClass Object
(
[id] => 7
)
)
Array
(
[0] => stdClass Object
(
[id] => 1
)
)
[1] => stdClass Object
(
[id] => 7
)
)
... and so on repeated.
我只想要这些所有数组中的第一个数组。请注意,这不是多维数组。.
我只想要输出中的第一个数组:
Array
(
[0] => stdClass Object
(
[id] => 1
)
)
[1] => stdClass Object
(
[id] => 7
)
)