DomProcessingInstruction->target

Returns the target of a ProcessingInstruction node ()

DomProcessingInstruction {
  string target();
}

This method gets the target of the ProcessingInstruction node.

返回值

Returns the target of the Processing Instruction.

Migrating to PHP 5

Use the target property of DOMProcessingInstruction.