DOMNotation
DOMProcessingInstruction::__construct
DOM
PHP Manual

# The DOMProcessingInstruction class

## Class synopsis

DOMProcessingInstruction
class DOMProcessingInstruction extends DOMNode {
/* Properties */
readonly public string $target ;
public string $data ;
/* Methods */
__construct ( string `$name` [, string `$value` ] )
/* Inherited methods */
DOMNode DOMNode::appendChild ( DOMNode `$newnode` )
DOMNode DOMNode::cloneNode ([ bool `$deep` ] )
bool DOMNode::hasAttributes ( void )
bool DOMNode::hasChildNodes ( void )
DOMNode DOMNode::insertBefore ( DOMNode `$newnode` [, DOMNode `$refnode` ] )
bool DOMNode::isDefaultNamespace ( string `$namespaceURI` )
bool DOMNode::isSameNode ( DOMNode `$node` )
bool DOMNode::isSupported ( string `$feature` , string `$version` )
string DOMNode::lookupNamespaceURI ( string `$prefix` )
string DOMNode::lookupPrefix ( string `$namespaceURI` )
void DOMNode::normalize ( void )
DOMNode DOMNode::removeChild ( DOMNode `$oldnode` )
DOMNode DOMNode::replaceChild ( DOMNode `$newnode` , DOMNode `$oldnode` )
}

## Properties

target

  Prop description

data

  Prop description

## Table of Contents

- DOMProcessingInstruction::__construct — Creates a new DOMProcessingInstruction object

DOMNotation
DOMProcessingInstruction::__construct
DOM
PHP Manual