A

Admin • 802.91K Points
Coach

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

  • (A) SimpleElement()
  • (B) SimpleXMLElement()
  • (C) XMLElement()
  • (D) None of the mentioned
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category JavaScript
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.