Possible Duplicate:
php object attribute with dot in name
I'm dealing with PHP, getting an object returned by a Microsoft web service, and there is a period in the object name!
object(stdClass)#22 (1) {
["DAE.Country"]=>
array(24) {
[0]=>
object(stdClass)#23 (2) {
["CountryName"]=>
string(4) "Asia"
["ID"]=>
string(2) "27"
}
}
}
How do I access an object in PHP with a period in its name?
$response->DAE_GetCountryListResult->DAE.Country;
and
$response->DAE_GetCountryListResult-['DAE.Country'];
both fail. Thank you for your time.