I have a variable $foo with this content:
object(SimpleXMLElement)#969 (2) {
["@attributes"]=>
array(1) {
["type"]=>
string(4) "html"
}
[0]=>
string(13) "Viernes Santo"
}
I'm trying to get the content "Viernes Santo" but I can't..I tried $foo[0]
but that returns the same content..any idea?