1

Topic: object manipulator

i have a array :

["CountryNameCode"] => object(SimpleXMLElement)#98 (1) {
    [0] => string(2) "ES"

how do I extract only the value ES

Thanks

2

Re: object manipulator

$x = (string) $array->0;

smile