1--TEST--
2Test DOMDocument::loadXML() with empty file path
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7// create dom document
8$dom = new DOMDocument();
9try {
10    $dom->loadXML("");
11} catch (ValueError $exception) {
12    echo $exception->getMessage() . "\n";
13}
14?>
15--EXPECT--
16DOMDocument::loadXML(): Argument #1 ($source) must not be empty
17