diff options
Diffstat (limited to 'ext/dom/tests/domdocument_createcomment_error_001.phpt')
-rw-r--r-- | ext/dom/tests/domdocument_createcomment_error_001.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/dom/tests/domdocument_createcomment_error_001.phpt b/ext/dom/tests/domdocument_createcomment_error_001.phpt new file mode 100644 index 0000000..24104a1 --- /dev/null +++ b/ext/dom/tests/domdocument_createcomment_error_001.phpt @@ -0,0 +1,16 @@ +--TEST-- +DomDocument::CreateComment() - Incorrect Parameters +--CREDITS-- +Clint Priest @ PhpTek09 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> +--FILE-- +<?php + $x = new DomDocument(); + $x->createComment(); +?> +===DONE=== +--EXPECTF-- +Warning: DOMDocument::createComment() expects exactly 1 parameter, 0 given in %s +===DONE=== +
\ No newline at end of file |