1--TEST--
2DOMDocument::loadHTML() should fail if no parameter is given
3--CREDITS--
4Knut Urdalen <knut@php.net>
5--SKIPIF--
6<?php
7require_once('skipif.inc');
8?>
9--FILE--
10<?php
11$doc = new DOMDocument();
12$doc->loadHTML();
13?>
14--EXPECTF--
15Warning: DOMDocument::loadHTML() expects at least 1 parameter, 0 given in %s on line %d
16