Annotation of embedaddon/php/ext/dom/tests/DOMDocument_loadHTML_error2.phpt, revision 1.1.1.1

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

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