how do i display individual values from the following code?
SimpleXMLElement Object (
[@attributes] => Array
(
[stat] => ok
)
[profile] => SimpleXMLElement Object
(
[address] => SimpleXMLElement Object
(
[country] => United Kingdom
)
[displayName] => gareth
[name] => SimpleXMLElement Object
(
[givenName] => Gareth
[familyName] => Davies
[formatted] => Gareth Davies
)
[preferredUsername] => gareth
[providerName] => Google
[verifiedEmail] => [email protected]
)
)