cvs: php-src(PHP_5_2) /ext/dom/tests DOMAttr_construct_error_001.phpt

From: Date: Sat, 23 May 2009 01:34:05 +0000
Subject: cvs: php-src(PHP_5_2) /ext/dom/tests DOMAttr_construct_error_001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-58123@lists.php.net to get a copy of this message
ericstewart Sat May 23 01:34:05 2009 UTC Added files: (Branch: PHP_5_2) /php-src/ext/dom/tests DOMAttr_construct_error_001.phpt Log: New test: DOMAttr __construct() with no arguments. http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt?view=markup&rev=1.1 Index: php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt +++ php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt --TEST-- DOMAttr __construct() with no arguments. --CREDITS-- Josh Sweeney <jsweeney@alt-invest.net> # TestFest Atlanta 2009-05-14 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $attr = new DOMAttr(); ?> --EXPECTF-- 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

« previous php.cvs (#58123) next »