How to remove SimpleXMLElement Object from php array
问题 I have read xml file using simplexml_load_file php function. I have store xml data into php array but in some array its display array of xml like SimpleXMLElement Object ( [0] => some value ) When I am print xml data , its display properly but when I am assign xml value to php array its display as above xml object in array XML <data> <request> <type>City</type> <query>Anand, India</query> </request> <current_condition> <observation_time>08:55 AM</observation_time> <temp_C>28</temp_C> <temp_F