XML_Statistics::countTagsInDepth (Previous) (Next) XML_Statistics::countExternalEntity

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

XML_Statistics::countPI()

XML_Statistics::countPI() -- count the occurences of a processing instruction

Description

Counts how often a certain processing instruction (e.g. <?PHP) is used in the document. The target is the 'language' of the processing instruction. You only need to specify the name, without the leading question mark. If no target is specified it will count the total number of processing instructions.

Parameter

  • string $target - target of the processing instruction

Return value

integer occurences of the processing instruction

Note

This function can not be called statically.

XML_Statistics::countTagsInDepth (Previous) (Next) XML_Statistics::countExternalEntity

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.