diff --git a/ext/simplexml/tests/simplexml_import_dom_basic.phpt b/ext/simplexml/tests/simplexml_import_dom_basic.phpt new file mode 100644 index 0000000000000..7efe801ead53a --- /dev/null +++ b/ext/simplexml/tests/simplexml_import_dom_basic.phpt @@ -0,0 +1,18 @@ +--TEST-- +simplexml_import_dom() - Basic test on invalid nodetype error +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: simplexml_import_dom(): Invalid Nodetype to import in %s on line %d + +Fatal error: Arginfo / zpp mismatch during call of simplexml_import_dom() in %s on line %d