1--TEST--
2DOMAttr __construct() with no arguments.
3--CREDITS--
4Josh Sweeney <jsweeney@alt-invest.net>
5# TestFest Atlanta 2009-05-14
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10$attr = new DOMAttr();
11?>
12--EXPECTF--
13Fatal error: Uncaught exception 'DOMException' with message 'DOMAttr::__construct() expects at least 1 parameter, 0 given' in %s:%d
14Stack trace:
15#0 %s(%d): DOMAttr->__construct()
16#1 {main}
17  thrown in %s on line %d
18