PHP_Compat::loadVersion | FAQ |
PHP | |
PEAR Manual | |
Find out the minimum version and the extensions required for a piece of code to run
parse a single file
parse a folder/directory
parse an array (list of file)
ability to give a list of functions to ignore when calculating the version needed
ability to give a list of directories to ignore when calculating the version needed
ability to go recursively or not into folder to find files
ability to reduce or extends list of extensions to parse for PHP code
ability to give a list of constants to ignore when calculating the version needed. Available since version 1.2.0
ability to get list of functions related to a PHP version (or a subset). Available since version 1.2.0
ability to give a list of (related functions of) php modules/extensions to ignore when calculating the version needed. Available since version 1.4.0
ability to give a list of (related functions of) php versions to ignore when calculating the version needed. Available since version 1.4.0
ability to exclude from parsing scope, some functions, extensions, constants, based on conditionnal code. Available since version 1.7.0
ability to know conditional code (such as function_exists) used by php scripts. Available since version 1.7.0
Mandatory resources :
PHP 4.3.10 or newer.
PEAR 1.5.4 or newer.
PEAR::Console_Table 1.0.5 or newer.
PEAR::Console_GetArgs 1.3.3 or newer.
PEAR::XML_Util 1.1.4 or newer.
PEAR::File_Find 1.3.0 or newer.
tokenizer extension.
Optional resources :
PHPUnit 3.2.0 or newer.
PEAR::XML_Beautifier 1.1 or newer.
PEAR::Console_ProgressBar 0.5.2beta or newer.
PHP_Compat::loadVersion | FAQ |
PHP | |
PEAR Manual | |