ericstewart             Sat May 23 01:33:40 2009 UTC

  Added files:                 (Branch: PHP_5_3)
    /php-src/ext/dom/tests      DOMAttr_construct_error_001.phpt 
  New test: DOMAttr __construct() with no arguments.
Index: php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt
+++ php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt
DOMAttr __construct() with no arguments.
Josh Sweeney <>
# TestFest Atlanta 2009-05-14
<?php require_once(''); ?>
$attr = new DOMAttr();
Fatal error: Uncaught exception 'DOMException' with message 
'DOMAttr::__construct() expects at least 1 parameter, 0 given' in %s:%d
Stack trace:
#0 %s(%d): DOMAttr->__construct()
#1 {main}
  thrown in %s on line %d

PHP CVS Mailing List (
To unsubscribe, visit:

Reply via email to