标签: php
Array ( [0] => stdClass Object ( [rating] => 2 ) )
我想要这样做
foreach ($star_1 as $key) { print_r($key->rating); }
如何获取foreach之外的rating值
rating