I am calling a function that returns the an array. A for loop iteration gives the following output.
string(22) "text/xml;charset=UTF-8"
string(7) "chunked"
string(4) "gzip"
array(2) { ["Expect"]=> string(12) "100-continue" ["Content-Type"]=> string(48) "application/x-www-form-urlencoded; charset=utf-8" }
object(CFSimpleXML)#10 (1) { [0]=> string(6) "123456" }
How can i check whether an array element is an object or string ?