PHP: How to get this string value?
I have an array with the following data:
[steamid] => stdClass Object
(
[0] => Shakyor
)
How 开发者_运维百科can I get the 'Shakyor' string from there?
$array->$steamid
doesn't work.$array->$steamid[0]
doesn't work.$array->$steamid->0
is not legal markup obviously.
$array->$steamid->{0}
精彩评论