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().Related Questions on Sockets
What does the value 2 of the WebSocket attribute Socket.readyState indicate?
A. Closed connection
B. Handshake connection
C. Unestablished connection
D. Established connection and communication is possible
Which method is used to close the WebSocket?
A. Socket.flush()
B. Socket.close()
C. Socket.Close()
D. Socket.dispose()
Join The Discussion