![]() PHP_CompatInfo : The Definitive Guide |
PHP_CompatInfo::parseArray
- Parse an
Array of Files
require_once 'PHP/CompatInfo.php';
array|FALSE PHP_CompatInfo::parseArray(
|
$files, | |
$options = array()) ;
|
array | $files; |
array | $options = array(); |
You can parse an array of Files or Strings, to parse strings, $options['is_string'] must be set to true
$files
Array of file names or code strings
$options
An array of options where:
'file_ext' Contains an array of file extensions to parse for PHP code. Default: php, php4, inc, phtml
'debug' Contains a boolean to control whether extra ouput is shown.
'ignore_functions' Contains an array of functions to ignore when calculating the version needed.
'ignore_constants' Contains an array of constants to ignore when calculating the version needed.
'ignore_files' Contains an array of files to ignore. File names are case insensitive.
'is_string' Contains a boolean which says if the array values are strings or file names.
'ignore_extensions' Contains an array of php extensions to ignore when calculating the version needed.
'ignore_versions' Contains an array of php versions to ignore when calculating the version needed.
PHP_CompatInfo : The Definitive Guide | v 1.4.1 : February 12, 2007 |