1--TEST--
2DOMImplementation::createDocumentType()
3--SKIPIF--
4<?php
5include('skipif.inc');
6?>
7--FILE--
8<?php
9$imp = new DOMImplementation();
10$doctype = $imp->createDocumentType("html",
11	"-//W3C//DTD XHTML 1.0 Strict//EN",
12	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd");
13$doc = $imp->createDocument(null, 'html', $doctype);
14echo $doc->saveHTML();
15?>
16--EXPECTF--
17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
18<html></html>
19