Sail E0 Webinar
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 Solution

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

Latest Videos

Latest Test Papers