标签: php xml class arrays object
我有一个包含以下数据的数组:
[steamid] => stdClass Object ( [0] => Shakyor )
如何从那里获取'Shakyor'字符串?
$array->$steamid
$array->$steamid[0]
$array->$steamid->0
答案 0 :(得分:5)
$array->$steamid->{0}