1 2 3 4 5 6 7 8 9 10 11 12 13 14
--TEST-- DOMImplementation::createDocument() --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- <?php $x = new DOMImplementation(); $doc = $x->createDocument(null, 'html'); echo $doc->saveHTML(); ?> --EXPECT-- <html></html>