我有:
$a = new SimpleXMLElement($myString);
$ a包含:
$a
: object(SimpleXMLElement) =
HEADER: object(SimpleXMLElement) =
LOG: object(SimpleXMLElement) =
PARAMS: object(SimpleXMLElement) =
CONTENT: object(SimpleXMLElement) =
LOT: object(SimpleXMLElement) =
DEGREES: object(SimpleXMLElement) =
@attributes: array =
value: string = 30
此
$a->CONTENT->LOT->DEGREE[@value];
得到我:
: object(SimpleXMLElement) =
0: string = 30
我怎么能得到30?