![]() PHP_CompatInfo : The Definitive Guide |
PHP_CompatInfo::parseString
—
Parse a string for its Compatibility info
require_once 'PHP/CompatInfo.php';
Array PHP_CompatInfo::parseString(
|
$string, | |
$options = array()) ;
|
string | $string; |
array | $options = array(); |
$string
PHP Code to parses
$options
An array of options where:
'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_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.5.1 : November 19, 2007 |