DOM XML (PHP 4) Functions
PHP Manual

DomProcessingInstruction->data

(PHP 4 >= 4.1.0)

DomProcessingInstruction->data Returns the data of ProcessingInstruction node

Description

string data ( void )

This method gets the data of the ProcessingInstruction node.

Return Values

Returns the data of the Processing Instruction.

Migrating to PHP 5

Use the data property of DOMProcessingInstruction.


DOM XML (PHP 4) Functions
PHP Manual