1--TEST--
2DOMDocumentFragment::__construct() with too many errors.
3--CREDITS--
4Eric Lee Stewart <ericleestewart@gmail.com>
5# TestFest Atlanta 2009-05-24
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10try {
11    $fragment = new DOMDocumentFragment("root");
12} catch (TypeError $e) {
13    echo $e->getMessage(), "\n";
14}
15?>
16--EXPECT--
17DOMDocumentFragment::__construct() expects exactly 0 arguments, 1 given
18