1--TEST--
2DOMComment::__construct() with more arguments than acceptable.
3--CREDITS--
4Eric Lee Stewart <ericleestewart@gmail.com>
5# TestFest Atlanta 2009-05-24
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10try {
11    $comment = new DOMComment("comment1", "comment2");
12} catch (TypeError $e) {
13    echo $e->getMessage(), "\n";
14}
15?>
16--EXPECT--
17DOMComment::__construct() expects at most 1 argument, 2 given
18