Discussion Forum : Sockets
Question - How will you convert the returned API into an XML object?
Options:
A .  SimpleElement()
B .  SimpleXMLElement()
C .  XMLElement()
D .  None of the mentioned
Answer: Option B


The API returned by the method file_get_contents() can be converted into an XML object using the method SimpleXMLElement().



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *