PHP 5.4.33 Released

DomDocument->doctype

(PHP 4 >= 4.1.0)

DomDocument->doctype Returns the document type

Description

domdocumenttype DomDocument->doctype ( void )

This function returns an object of class DomDocumentType. In versions of PHP before 4.3 this has been the class Dtd, but the DOM Standard does not know such a class.

See also the methods of class DomDocumentType.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top