Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 462 Bytes

0498.md

File metadata and controls

15 lines (12 loc) · 462 Bytes

How would you change a SimpleXMLElement object into a DOMElement? (choose two)

  • A) using dom_import_simplexml()
  • B) convert SimpleXMLElement to XML, then create a DOMElement from the XML
  • C) using simplexml_export_dom()
  • D) SimpleXMLElement::asDom()
Answer

Answer: A