1--TEST--
2DOMDocument::adoptNode not implemented
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = new DOMDocument();
9$dom->loadXML("<root />");
10
11try {
12    $dom->adoptNode($dom->documentElement);
13} catch (\Error $e) {
14    echo $e->getMessage() . \PHP_EOL;
15}
16?>
17--EXPECT--
18Not yet implemented
19