DOMException
DOMImplementation::__construct
DOM
PHP Manual

# The DOMImplementation class

(PHP 5, PHP 7)

## Introduction

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

## Class synopsis

DOMImplementation {
/* Properties */
/* Methods */
__construct ( void )
public DOMDocument createDocument ([ string `$namespaceURI` = `NULL` [, string `$qualifiedName` = `NULL` [, DOMDocumentType `$doctype` = `NULL` ]]] )
public DOMDocumentType createDocumentType ([ string `$qualifiedName` = `NULL` [, string `$publicId` = `NULL` [, string `$systemId` = `NULL` ]]] )
public bool hasFeature ( string `$feature` , string `$version` )
}

## Table of Contents

- DOMImplementation::__construct — Creates a new DOMImplementation object
- DOMImplementation::createDocument — Creates a DOMDocument object of the specified type with its document element
- DOMImplementation::createDocumentType — Creates an empty DOMDocumentType object
- DOMImplementation::hasFeature — Test if the DOM implementation implements a specific feature

DOMException
DOMImplementation::__construct
DOM
PHP Manual