FuelingPHP - How to return a XML response in PHP. Learn how to set up HTTP server in PHP and program an API that sends XML responses. FuelingPHP - How to create XML in PHP. Learn how to dynamically create XML in PHP with SimpleXMLElement and DOMDocument classes. FuelingPHP - How to convert JSON to XML in PHP. Learn SimpleXMLElement in PHP to convert JSON array to XML.