--TEST-- DOMDocument::loadHTML() should fail if empty string provided as input --CREDITS-- Knut Urdalen --EXTENSIONS-- dom --FILE-- loadHTML(''); } catch (ValueError $e) { echo $e->getMessage() . "\n"; } ?> --EXPECT-- DOMDocument::loadHTML(): Argument #1 ($source) must not be empty