DOM XML (PHP 4) Functions
PHP Manual

DomProcessingInstruction->target

(PHP 4 >= 4.1.0)

DomProcessingInstruction->target Returns the target of a ProcessingInstruction node

Description

string DomProcessingInstruction::target ( void )

This method gets the target of the ProcessingInstruction node.

Return Values

Returns the target of the Processing Instruction.

Migrating to PHP 5

Use the target property of DOMProcessingInstruction.


DOM XML (PHP 4) Functions
PHP Manual