I am having a problem accessing the @attribute section of my SimpleXML object. When I var_dump the entire object, I get the correct output, and wh
@attribute
var_dump
You can just do:
echo $xml['token'];