PEAR Manual
Prev |  | Next

# XML_Statistics::analyzeFile()

XML_Statistics::analyzeFile() -- Analyze an XML file

## Synopsis

    require_once 'XML/Statistics.php';

``string XML_Statistics::analyzeFile` (string $filename)`

## Description

Analyzes an XML document by reading from a file. You have to analyze a document before you can extract any statistical information.

## Return value

Returns `TRUE` on success, PEAR_Error on failure.

## Note

This function can not be called statically.

## See

XML_Statistics::analyzeString()

Prev | Home | Next
XML_Statistics::apiVersion() | Up | XML_Statistics::analyzeString()