php / 8.1.5 / class.domimplementation.html /

The DOMImplementation class

Introduction

(PHP 5, PHP 7, PHP 8)

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

Class synopsis

class DOMImplementation {
/* Methods */
public createDocument(?string $namespace = null, string $qualifiedName = "", ?DOMDocumentType $doctype = null): DOMDocument|false
public createDocumentType(string $qualifiedName, string $publicId = "", string $systemId = ""): DOMDocumentType|false
public hasFeature(string $feature, string $version): bool
}

Table of Contents

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.domimplementation.php