How will you convert the returned API into an XML object?

A. SimpleElement()

B. SimpleXMLElement()

C. XMLElement()

D. None of the mentioned

Answer: Option B

Solution(By Examveda Team)

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

Join The Discussion

Related Questions on Sockets