| PEAR Announce 2008-02-16, 8:05 am |
| The new PEAR package PHP_CompatInfo-1.6.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
* news
- request #13094 : PHP5 method chaining
- improve detection of PHP constants ( DATE_*, STD*, UPLOAD_ERR_*,
PHP_EOL, DIRECTORY_SEPARATOR, PATH_SEPARATOR, E_STRICT )
- loadVersion() may return both function or function+constant list
(BC is kept: default is to return only function list $include_const = FALSE)
- Added -s | --string parameter to CLI;
Allow to parse a string without using script tags <?php ... ?>
- Added -r | --report parameter to CLI;
Allow to print either an "xml" or "cli" (default) report
* changes
- split and glue parameters of CLI class constructor were removed; the limit
to 80 columns is now fixed otherwise
- PHP requirement is now set to 4.3.10 minimum (due to usage of PHP_EOL constant)
* QA
- User Guide (HTML version) included in previous versions was removed, since
its now part of PEAR manual
- API is near 95% unit tested with PHPUnit 3.x (see main suite: tests/AllTests.php)
Package Info
------------
PHP_CompatInfo will parse a file/folder/script/array to find out the minimum
version and extensions required for it to run. Features advanced debug output
which shows which functions require which version and CLI output script
Related Links
-------------
Package home: http://pear.php.net/package/PHP_CompatInfo
Changelog: http://pear.php.net/package/PHP_Com.../download/1.6.0
Download: http://download.pear.php.net/packag...tInfo-1.6.0.tgz
Authors
-------
Laurent Laville <pear@laurent-laville.org> (lead)
|