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.

register a temporary file or directory (Previous) Build a array (Next)
Last updated: Tue, 29 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.