Annotation of embedaddon/php/ext/dom/tests/DOMDocument_loadHTML_error1.phpt, revision 1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>