Annotation of embedaddon/php/ext/dom/tests/DOMDocument_loadHTML_basic.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: DOMDocument::loadHTML
! 3: --CREDITS--
! 4: Frank Cassedanne franck@ouarz.net
! 5: #London TestFest 2008
! 6: --SKIPIF--
! 7: <?php
! 8: require_once('skipif.inc');
! 9: ?>
! 10: --FILE--
! 11: <?php
! 12: $doc = new DOMDocument();
! 13: $doc->loadHTML("<html><body><p>Test<br></p></body></html>");
! 14: echo $doc->saveHTML();
! 15: ?>
! 16: --EXPECTF--
! 17: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
! 18: <html><body><p>Test<br></p></body></html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>