Scholar Repository
Home>Manual>Returns the target of a ProcessingInstruction node

Returns the target of a ProcessingInstruction node


DomProcessingInstruction->target

(PHP 4 >= 4.1.0)

DomProcessingInstruction->targetReturns 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.


Home>Manual>Returns the target of a ProcessingInstruction node