--TEST--
SimpleXMLElement::asXML() with a fragment and a filename
--EXTENSIONS--
simplexml
--FILE--
bar
XML);
$sxe->container2->asXML(__DIR__."/SimpleXMLElement_asXML_fragment_filename_output.tmp");
// Note: the strange indent is correct: the indent text node preceding container2 is not emitted.
echo file_get_contents(__DIR__."/SimpleXMLElement_asXML_fragment_filename_output.tmp");
?>
--CLEAN--
--EXPECT--
bar