1--TEST-- 2DOMDocument::loadHTML() should fail if empty string provided as input 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(): Empty string supplied as input in %s on line %d 16