1--TEST--
2DOMNode::remove() dangling element
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7
8$dom = new DOMDocument();
9
10$element = $dom->createElement('test');
11
12try {
13    $element->remove();
14} catch (DOMException $e) {
15    echo $e->getMessage();
16}
17?>
18--EXPECT--
19Not Found Error
20