XML_Statistics::countPI()

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

Synopsis

Описание

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.

Параметр

Возвращаемое значение

integer occurences of the processing instruction

Заметка

Эта функция не должна вызываться статически.

    Поддержать сайт на родительском проекте КГБ