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

  • (A) SimpleElement()
  • (B) SimpleXMLElement()
  • (C) XMLElement()
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) SimpleXMLElement()
Explanation: The API returned by the method file_get_contents() can be converted into an XML object using the method SimpleXMLElement().
Explanation by: Mr. Dubey
The API returned by the method file_get_contents() can be converted into an XML object using the method SimpleXMLElement().

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
123
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate