1--TEST--
2DOMDocument::loadHTML
3--CREDITS--
4Frank Cassedanne franck@ouarz.net
5#London TestFest 2008
6--SKIPIF--
7<?php
8require_once('skipif.inc');
9?>
10--FILE--
11<?php
12$doc = new DOMDocument();
13$doc->loadHTML("<html><body><p>Test<br></p></body></html>");
14echo $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>
19