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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.