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


require_once 'PEAR/common.php';

array PEAR_Common::analyzeSourceCode ( string $file )


Analyze the source code of the given PHP file


string $file

Filename of the PHP file

Return value

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


This function can be called statically.

register a temporary file or directory (Previous) Build a array (Next)
Last updated: Wed, 18 Jan 2017 — 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:
  • English

User Notes:

There are no user contributed notes for this page.