Annotation of embedaddon/php/ext/dom/tests/DOMDocumentFragment_construct_error_001.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DOMDocumentFragment::__construct() with too many errors.
3: --CREDITS--
4: Eric Lee Stewart <ericleestewart@gmail.com>
5: # TestFest Atlanta 2009-05-24
6: --SKIPIF--
7: <?php require_once('skipif.inc'); ?>
8: --FILE--
9: <?php
10: $fragment = new DOMDocumentFragment("root");
11: ?>
12: --EXPECTF--
13: Fatal error: Uncaught exception 'DOMException' with message 'DOMDocumentFragment::__construct() expects exactly 0 parameters, 1 given' in %s:%d
14: Stack trace:
15: #0 %s(%d): DOMDocumentFragment->__construct('root')
16: #1 {main}
17: thrown in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>