PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
XML_Statistics::countExternalEntity() | Up | XML_Statistics::countAttribute()