Witam. Listing dla obiektu który pobieram przez SimpleXMLElement to (część):
SimpleXMLElement Object
(
[total-citizens] => 56347
[continent] => Europe
[regions] => SimpleXMLElement Object
(
[region] => Array
Jak dostać wartość total-citizens czyli 56347 ?
$xml -> total-citizens;
nie chce działać