1--TEST--
2Dom\XMLDocument::createFromString 02
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = Dom\XMLDocument::createFromString('<?xml version="1.0"?><container/>');
9var_dump($dom->saveXmlFile(__DIR__ . "/fromString_02.xml"));
10echo file_get_contents(__DIR__ . "/fromString_02.xml");
11
12?>
13--CLEAN--
14<?php
15@unlink(__DIR__ . "/fromString_02.xml");
16?>
17--EXPECT--
18int(51)
19<?xml version="1.0" encoding="UTF-8"?>
20<container/>
21