我是php的初学者,我想从以下示例中将 CurrencyCode 和 Value 引入两个变量中。知道我该怎么做吗?谢谢
$results = $soapClient->CalculateRate($params);
print_r($results);
此结果
stdClass Object (
[Transaction] => stdClass Object (
[Reference1] => 001
[Reference2] =>
[Reference3] =>
[Reference4] =>
[Reference5] =>
)
[Notifications] => stdClass Object ( )
[HasErrors] =>
[TotalAmount] => stdClass Object (
[CurrencyCode] => USD [Value] => 7.65
)
)