XML_Statistics::countDataChunks

XML_Statistics::countDataChunks() – count the occurences of a data blocks

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::countDataChunks ( )

Description

This is influenced by the 'ignoreWhitespace' option. Furthermore a new chunk is counted when the parser find a linebreak or internal entity.

Parameter

This method does not accept any parameters.

Return value

integer number of data chunks in the document

Note

This function can not be called statically.