Q66
How will you convert the returned API into an XML object?
A.
SimpleElement()
B.
SimpleXMLElement()
AnswerC.
XMLElement()
D.
None of the mentioned
Answer: Option B
Solution
Answer: Option B
Solution:
The API returned by the method file_get_contents() can be converted into an XML object using the method SimpleXMLElement().