1--TEST--
2DOMAttr __construct() with no arguments.
3--CREDITS--
4Josh Sweeney <jsweeney@alt-invest.net>
5# TestFest Atlanta 2009-05-14
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10try {
11    $attr = new DOMAttr();
12} catch (TypeError $e) {
13    echo $e->getMessage(), "\n";
14}
15?>
16--EXPECT--
17DOMAttr::__construct() expects at least 1 argument, 0 given
18