php8.5
Home/ Manual/ reference / dom/ The DOMProcessingInstruction class

The DOMProcessingInstruction class

This represents a processing instruction (PI) node. These are meant to indicate data areas meant for processing by specific applications.

Intro

This represents a processing instruction (PI) node. These are meant to indicate data areas meant for processing by specific applications.

Class synopsis

class DOMProcessingInstruction extends DOMNode { }

Properties

target

A string representing to what application the data is intended for.

data

Application-specific data.

Domprocessinginstruction

In this section

Source: reference/dom/domprocessinginstruction.xml · from the official PHP manual (php/doc-en)