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