XML_Statistics::getMaxDepth

XML_Statistics::getMaxDepth() – get the maximum nesting level

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::getMaxDepth ( )

Description

The nesting level of a document tells you the maximum depth of the tags in the document.

Parameter

This method does not accept any parameters.

Return value

integer maximum nesting level.

Note

This function can not be called statically.