PEAR_Common::analyzeSourceCode

PEAR_Common::analyzeSourceCode() – analyze the source code of the given PHP file

Synopsis

require_once 'PEAR/common.php';

array PEAR_Common::analyzeSourceCode ( string $file )

Description

Analyze the source code of the given PHP file

Parameter

string $file

Filename of the PHP file

Return value

array - hash list of declared_classes, declared_methods, declared_functions and used_classes

Note

This function can be called statically.