1--TEST--
2Serialize modern document with LIBXML_NOXMLDECL
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = Dom\XMLDocument::createFromString('<?xml version="1.0"?><root/>');
9echo $dom->saveXml(options: LIBXML_NOXMLDECL), "\n";
10
11?>
12--EXPECT--
13<root/>
14