Home » PHP » PHP_CompatInfo
Find out the minimum version and the extensions required for a piece of code to run
This package is unmaintained.
Download latest release 1.9.0 (archived versions might be outdated)
License: BSD
Description
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
Documentation
Maintainers
- Laurent Laville (farell) — lead, active
- Davey Shafik (davey) — lead, inactive
Dependencies
Required
- PHP (>= 4.3.10)
- PEAR Installer (>= 1.5.4)
- Console_Table (>= 1.1.1)
- Console_GetArgs (>= 1.3.3)
- File_Find (>= 1.3.0)
- Event_Dispatcher (>= 1.0.0)
- pcre (extension)
- tokenizer (extension)
Optional
- PHPUnit (pear.phpunit.de, >= 3.2.0)
- XML_Util (>= 1.1.4)
- XML_Beautifier (>= 1.1)
- Console_ProgressBar (>= 0.5.2beta)
- Var_Dump (>= 1.0.3)
- HTML_Table (>= 1.8.2)
Releases
- 1.9.0 (stable, 2009-01-19)
Release notes
License: BSD
No change since version 1.9.0RC1
- 1.9.0RC1 (beta, 2009-01-03)
Release notes
License: BSD
* IMPORTANT
- if you are PHP5 user only:
use the pciconf script to build your own extension support list
- if you are PHP4 user only:
pciconf script required at least PHP5 to run, so to build your own support list,
do it by hand. All major extensions and their PCI dictionaries are available
on PEAR CVS [http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/CompatInfo/]
- A more comprehensive guide will be available for final stable release, ready for
PhD system and new PEAR Manual.* changes since beta2
- pciconf script did not used anymore the monolithic versions.xml and funclist.txt
data sources. Version information about extensions came from specific extension version.xml
file that are installed into PEAR/data/PHP_CompatInfo/phpdocref* bugs fixed since beta2
- CSV, HTML and XML renderers did not provided expected result
due to new classes result-key entry
- lost partial functions list information when parsing multiple data sources
with debug mode* news since beta2
- add function getSummary() to print only summary when parsing a directory
or multiple data sources at onceYou are welcome to read my presentation about the new API at
http://pear.laurent-laville.org/pepr/PHP_CompatInfo/api190/ - 1.9.0b2 (beta, 2008-12-19)
Release notes
License: BSD
* IMPORTANT
- if you are PHP5 user only:
use the pciconf script to build your own extension support list
- if you are PHP4 user only:
pciconf script required at least PHP5 to run, so to build your own support list,
do it by hand. All major extensions and their PCI dictionaries are available
on PEAR CVS [http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/CompatInfo/]
- A more comprehensive guide will be available for final stable release, ready for
PhD system and new PEAR Manual.* news
- pciconf: the extension support list build system for PHP5 users only
use now a new exception handler for functions, and allow to make SAPI dictionaries
- improve again constant detection by adding a new dictionaries for internal
(php core) constants.
- 3 new methods: getIgnoredFunctions, getIgnoredExtensions, getIgnoredConstants
- 1 old method open to public: getIgnoredFilesYou are welcome to read my presentation about the new API at
http://pear.laurent-laville.org/pepr/PHP_CompatInfo/api190/Do not hesitate to give me your feedback. More we test it, more stable will be
the final version.* roadmap
- 2008-11-23 first alpha version
- 2008-11-26 first beta version
- 2008-12-19 second beta release
- 2009-01-19 final stable release - 1.9.0b1 (beta, 2008-11-30)
Release notes
License: BSD
* bugs
- __FILE__ and __LINE__ constants were not detected with 1.9.0a1* news
- With first beta release, API 1.9.0 is marked as complete and will not change until stable.You are welcome to read my presentation about the new API at
http://pear.laurent-laville.org/pepr/PHP_CompatInfo/api190/Do not hesitate to give me your feedback. More we test it, more stable will be
the final release.* roadmap
- 2008-11-23 first alpha version
- 2008-11-26 first beta version
- 2008-12-19 stable release 1.9.0 - 1.9.0a1 (alpha, 2008-11-23)
Release notes
License: BSD
* bugs
- 15011 : XSL extension not detected* news
- API 1.9.0 marked as beta, and first release is alpha due to change of
classes/constants detection of PHP extensions.You are welcome to read my presentation about the new API at
http://pear.laurent-laville.org/pepr/PHP_CompatInfo/api190/Do not hesitate to give me your feedback. More we test it, more stable will be
the final release.* roadmap
- 2008-11-23 first alpha version
- 2008-12-19 stable release 1.9.0 - 1.8.1 (stable, 2008-09-27)
Release notes
License: BSD
* bugs
- 14696 : PHP_CompatInfo fails to scan code line when not ended with ;* changes
- getallheaders() is detected as sapi_apache rather than sapi_aolserver - 1.8.0 (stable, 2008-08-01)
Release notes
License: BSD
* bugs
- XML Renderer:
. identify a data source file with the right tag <file> rather than <dir>
. list of function in verbose / debug mode is back
- Text Renderer:
--summarize and --verbose level 4 produced PHP notice errors* changes
- With agreement of original package author (Davey Shafik), change license
from PHP 3.01 to New BSD - 1.8.0RC2 (beta, 2008-07-18)
Release notes
License: PHP License 3.01
14 days left before final stable version. Please give it a good testing !
* news
- Command-Line Interface:
new -t | --tab switch to set columns width (see also Text Renderer)* bugs
- final fix #14187: cli -r switch does not work in 1.8.0.b4
- doc #14095: about missing information from C column in CLI result
- fixed a PHP warning with Array renderer when parsing a single file* changes
- Parser give now in summary, when debug mode is on,
the list of functions implemented by version
- XML Renderer:
. Even if XML_Beautifier is available we can now avoid to use it. You are free
to manage the raw data.
-> Reason: old bug #5450 that strip the XML declaration
See: docs\examples\pci180_parsedata_toxml.php
. adds attribute "name" to string tag (for a better identification and search)
- Text Renderer:
. You have now ability to set column width with config option "colwidth". Only
for Files, Extensions, Constants/Tokens. Version and C have always fixed width.
. Extra information given by debug mode (verbose level 4) is available both
for a single file or a directory - 1.8.0RC1 (beta, 2008-06-28)
Release notes
License: PHP License 3.01
Probably the last release before final version planned for August 1st.
Please give it a good testing !* bugs
- #14187 : cli -r switch does not work in 1.8.0.b4
- getFileList() obey now to "recurse_dir" option (when set to false)
- parse functions obey now to "ignore_files" option* changes
- Result values are now sorted in alphabetic order for a better human reading
Thats include 6 following entries:
"ignore_functions", "ignore_extensions", "ignore_constants"
"functions" "extensions" "constants"
- Event "AuditFinised" give now the result of parsingDo not forget to have a look on all examples pci180_parse* that demonstrates
the new API.* QA
- Test Suites (Standard, Bugs, Cli) included in this first release candidate
are full compatible with API 1.8.0 - 1.8.0b4 (beta, 2008-06-18)
Release notes
License: PHP License 3.01
* changes
- Text Renderer: support output-level 16 (display filter on version)
- Xml Renderer: support all output-level, verbose 4+ or debug mode
- CLI: default output-level is now 31 (still all details, as before with 15)
since version may be hide (level 16)* news
- 2 more renderers: Html and Csv
- 3 more examples:
pci180_parsedir_tohtml
= how to use your own html renderer (site web layout integration)
pci180_parsefolder_tohtml
= parse a huge folder and wait result with a progress bar
pci180_parsestring_toxml
= parse an array of string and debug it with an observerDo not forget to have a look on all examples pci180_parse* that demonstrates
the new API.* Milestones
- Release Candidate 1: July 1st (with unit test suite, and first draft of user-doc)
- Stable: August 1st
Please give it a good testing !* QA
- Do no search Unit tests in this release, it is not yet ready, so I have removed
them until RC1 - 1.8.0b3 (beta, 2008-06-07)
Release notes
License: PHP License 3.01
* changes
- parseArray() method was missing in beta2 is back
- add or remove observers is now possible with public method of the controller
PHP_CompatInfo (main class)* news
- CLI is back alive with the new Text Renderer
a new switch -p | --progress was added to display a wait message or a progress bar
(if PEAR::Console_ProgressBar is installed)Do not forget to have a look on all examples pci180_parse* that demonstrates
the new API.Beta 4, the last beta before RC, that is planned for june 18th will include
2 new more renderers :
- Html, for web page content
- Csv, for a plain text content* QA
- Do no search Unit tests in this release, it is not yet ready, so I have removed
them until beta4 - 1.8.0b2 (beta, 2008-06-03)
Release notes
License: PHP License 3.01
CREDITS
Thanks to Jon Parise and Ken Guest, for their agreement to reuse code and idea
from their packages. Idea about connecting a driver (see PEAR_Size) and
how to build/check an instance of a custom renderer (see Log) if class
is available loaded somewhere.* news
API 1.8.0 since beta 2 was almost full rewrite following the MVC design pattern.
This version, that DO NOT break Backward Compatibility, introduces at least two big
features :
1. Event-Driven capability (see PEAR::Event_Dispatcher),
2. Customizable and extendable RenderersDo not forget to have a look on 3 news examples pci180_parse* that demonstrates
the new API.Beta 2 include 3 renderers :
- "Null" that consumes all output. Usefull for batch mode
- "Array" the default. That dump results as a PHP array (like previous versions)
but allow also to print improved array with help of PEAR::Var_Dump if available.
- "Xml" that produces XML results with PEAR::XML_Util and improve its render
with PEAR::XML_Beautifier if available.WARNING: if you use benefit of XML_Beautifier with the Xml renderer and see
the XML prolog/declaration be removed, DO NOT add a new bug report
it is the old Bug #5450 !Beta 3 that will come shortly will include 2 new more renderers :
- Html, for web page content
- Text, for command line interface (that will come back again live)* QA
- Do no search Unit tests in this release, it is not yet ready, so I have removed
them until beta3 - 1.8.0b1 (beta, 2008-05-18)
Release notes
License: PHP License 3.01
Consider this version as a high bug fix release.
Especially if you want to parse files/dirs with conditional code such as
function_exists(), extension_loaded(), and defined().* bugs
- #13873: Undefined Offset Error for function_exists detection* news
- support of error_reporting constant E_RECOVERABLE_ERROR introduced with PHP 5.2.0
- show a progress bar when parsing directories from CLI - 1.7.0 (stable, 2008-04-17)
Release notes
License: PHP License 3.01
After 1 alpha and 4 beta releases, I am pleased to announce the
release of final stable version. This new API 1.7.0 introduce many new features.
Here are a summary of all changes since API 1.6.0.All SAPI:
=========
* news
- add 3 options:
ignore_functions_match, ignore_extensions_match, ignore_constants_match.
==> Request #12857
- separate constants and tokens in results
==> Request #13138* changes
- full support of regular expressions for "ignore_dirs" and "ignore_files" options.
- all reports display now the max version information when needed.* bugs
- #13568 : User functions are not ignored
- #13417 : Parser ignore class-method that are named as standard php functions
- #13137 : Standard test suite failed under *nixCLI only:
=========
* news
- Add new --output-level switch to customize (all) reports output.
==> Request #13493
- Add new --summarize switch to limit output to first line (summary)
when parsing directory.
- Add new --version switch to print version number of PHP_CompatInfo package.
- Add --filter-ext switch to filter file extension when parsing directory
==> Request #13147
- Add new column C to indicate a level of conditional code used (0: none,
1: function_exists() used, 2: extension_loaded() used, 4: defined() used)* changes
- XML report structure change.
Render is improve if PEAR::XML_Beautifier is available.
- pci.php file was rename to pci (without extension) to match unix command syntax
- Text report is now really limited to 80 columns in all situation
- All switchs that accept option file parameter allow now
to put line in comment with ; character (as in php.ini)* QA
- dependencies Console_Table, Console_GetArgs, XML_Util
are defined as required and no more optional. CLI is a standard feature and should
not be considered as optional.---------------------------------------------------------------------------
Changes since version 1.7.0b4 (2008-04-03)- parseString(), parseFile() and parseArray() handle now correctly the new
key-info "cond_code".
- Add new column C to indicate a level of conditional code used.
- CLI text report support version max information in main table results.
- Regression Tests Suite was fixed. - 1.7.0b4 (beta, 2008-04-03)
Release notes
License: PHP License 3.01
LAST BETA before FINAL STABLE release.
PLEASE TEST IT as much as possible !TODO : Need to fix Regression Tests Suite
Changes since version 1.7.0b3 (2008-03-28)
* news
- Use PEAR::File_Find package 1.3.0 or greater to manage "ignore_dirs" and
"ignore_files" easily (with ability to filter by regular expression).
- XML report structure change.
Render is improve if PEAR::XML_Beautifier is available.
- XML report may now be filtered with help of --output-level switch.
- Values change for --output-level switch. Use now binary value (more easy to remember)
2->Extension, 4->Constant, 8->Tokens, with always 1->Path-File + Version
(Thanks to Stephan Wentz for his request)
- Add new switch --summarize to limit output to first line (summary)
when parsing directory
(Thanks to Stephan Wentz for his request)* bugs
- fix #13568 : User functions are not ignoredChanges since version 1.7.0b2 (2008-03-24)
* bugs
- notice errors on XML report output when parsing a directory with CLI
- add summary in XML report when parsing a directory with CLI* news
- implement request #13493: customize CLI data outputChanges since version 1.7.0b1 (2008-03-17)
- pci.php file was rename to pci (without extension) to match unix command syntax
- CLI may print (-V | --version) version number of PHP_CompatInfo package used* bugs
- bug #13417 : Parser ignore class-method that are named as standard php functions* QA
- dependencies related to CLI (Console_Table, Console_GetArgs, XML_Util)
are defined as required and no more optional. CLI is a standard feature and should
not be considered as optional.Changes since version 1.7.0a1 (2008-02-21)
- fix CLI output render to 80 columns, on main table :
29 characters for File/Path column (1)
9 characters for Version column (2)
13 characters for Extensions column (3)
23 characters for Constants/Tokens column (4)
- fix CLI output render to 80 columns, on additionnal tables :
25 characters for Option column (1)
51 characters for Value column (2)
- On CLI, the XML report generation is now xml compliant with a root tag (pci)
- On CLI, implement options:
ignore_functions_match with -inm switch,
ignore_extensions_match with -iem switch,
ignore_constants_match with -icm switch
- On CLI options files (see -in, -ie, -ic, -inm, -iem, -icm)
allow to put line in comment with ; character (as in php.ini)Changes since stable version 1.6.1 (2008-02-16)
* bugs
- bug #13137 : Standard test suite failed under *nix* news
- req #12857 : Add the option to locally mask exceptions
see new api 1.7.0 options:
ignore_functions_match, ignore_extensions_match, ignore_constants_match.
- req #13138 : separate constants and tokens in results
- req #13147 : CLI: add filter file extension option on parsing directory - 1.7.0b3 (beta, 2008-03-28)
Release notes
License: PHP License 3.01
Changes since version 1.7.0b2 (2008-03-24)
* bugs
- notice errors on XML report output when parsing a directory with CLI
- add summary in XML report when parsing a directory with CLI* news
- implement request #13493: customize CLI data outputChanges since version 1.7.0b1 (2008-03-17)
- pci.php file was rename to pci (without extension) to match unix command syntax
- CLI may print (-V | --version) version number of PHP_CompatInfo package used* bugs
- bug #13417 : Parser ignore class-method that are named as standard php functions* QA
- dependencies related to CLI (Console_Table, Console_GetArgs, XML_Util)
are defined as required and no more optional. CLI is a standard feature and should
not be considered as optional.Changes since version 1.7.0a1 (2008-02-21)
- fix CLI output render to 80 columns, on main table :
29 characters for File/Path column (1)
9 characters for Version column (2)
13 characters for Extensions column (3)
23 characters for Constants/Tokens column (4)
- fix CLI output render to 80 columns, on additionnal tables :
25 characters for Option column (1)
51 characters for Value column (2)
- On CLI, the XML report generation is now xml compliant with a root tag (pci)
- On CLI, implement options:
ignore_functions_match with -inm switch,
ignore_extensions_match with -iem switch,
ignore_constants_match with -icm switch
- On CLI options files (see -in, -ie, -ic, -inm, -iem, -icm)
allow to put line in comment with ; character (as in php.ini)Changes since stable version 1.6.1 (2008-02-16)
* bugs
- bug #13137 : Standard test suite failed under *nix* news
- req #12857 : Add the option to locally mask exceptions
see new api 1.7.0 options:
ignore_functions_match, ignore_extensions_match, ignore_constants_match.
- req #13138 : separate constants and tokens in results
- req #13147 : CLI: add filter file extension option on parsing directory - 1.7.0b2 (beta, 2008-03-24)
Release notes
License: PHP License 3.01
Changes since version 1.7.0b1 (2008-03-17)
- pci.php file was rename to pci (without extension) to match unix command syntax
- CLI may print (-V | --version) version number of PHP_CompatInfo package used* bugs
- bug #13417 : Parser ignore class-method that are named as standard php functions* QA
- dependencies related to CLI (Console_Table, Console_GetArgs, XML_Util)
are defined as required and no more optional. CLI is a standard feature and should
not be considered as optional.Changes since version 1.7.0a1 (2008-02-21)
- fix CLI output render to 80 columns, on main table :
29 characters for File/Path column (1)
9 characters for Version column (2)
13 characters for Extensions column (3)
23 characters for Constants/Tokens column (4)
- fix CLI output render to 80 columns, on additionnal tables :
25 characters for Option column (1)
51 characters for Value column (2)
- On CLI, the XML report generation is now xml compliant with a root tag (pci)
- On CLI, implement options:
ignore_functions_match with -inm switch,
ignore_extensions_match with -iem switch,
ignore_constants_match with -icm switch
- On CLI options files (see -in, -ie, -ic, -inm, -iem, -icm)
allow to put line in comment with ; character (as in php.ini)Changes since stable version 1.6.1 (2008-02-16)
* bugs
- bug #13137 : Standard test suite failed under *nix* news
- req #12857 : Add the option to locally mask exceptions
see new api 1.7.0 options:
ignore_functions_match, ignore_extensions_match, ignore_constants_match.
- req #13138 : separate constants and tokens in results
- req #13147 : CLI: add filter file extension option on parsing directory - 1.7.0b1 (beta, 2008-03-17)
Release notes
License: PHP License 3.01
Changes since 1.7.0a1 (2008-02-21)
* changes
- fix CLI output render to 80 columns, on main table :
29 characters for File/Path column (1)
9 characters for Version column (2)
13 characters for Extensions column (3)
23 characters for Constants/Tokens column (4)
- fix CLI output render to 80 columns, on additionnal tables :
25 characters for Option column (1)
51 characters for Value column (2)
- On CLI, the XML report generation is now xml compliant with a root tag (pci)
- On CLI, implement options:
ignore_functions_match with -inm switch,
ignore_extensions_match with -iem switch,
ignore_constants_match with -icm switch
- On CLI options files (see -in, -ie, -ic, -inm, -iem, -icm)
allow to put line in comment with ; character (as in php.ini)Changes since stable version 1.6.1 (2008-02-16)
* bugs
- bug #13137 : Standard test suite failed under *nix* news
- req #12857 : Add the option to locally mask exceptions
see new api 1.7.0 options:
ignore_functions_match, ignore_extensions_match, ignore_constants_match.
- req #13138 : separate constants and tokens in results
- req #13147 : CLI: add filter file extension option on parsing directory - 1.7.0a1 (alpha, 2008-02-21)
Release notes
License: PHP License 3.01
* bugs
- bug #13137 : Standard test suite failed under *nix* news
- req #12857 : Add the option to locally mask exceptions
see new api 1.7.0 options:
ignore_functions_match, ignore_extensions_match, ignore_constants_match.
- req #13138 : separate constants and tokens in results
- req #13147 : CLI: add filter file extension option on parsing directory - 1.6.1 (stable, 2008-02-16)
Release notes
License: PHP License 3.01
* bugs
- bug #13131 : Undefined variable: php5_method_chaining - 1.6.0 (stable, 2008-02-16)
Release notes
License: PHP License 3.01
* 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) - 1.5.1 (stable, 2007-11-19)
Release notes
License: PHP License 3.01
* bugs
- #12451 : DOS CRLFs in every single file* QA
- this release include also The Definitive Guide in version 1.5.0
that cover all versions
see http://pear.laurent-laville.org/PHP_CompatInfo for more format to download. - 1.5.0 (stable, 2007-11-15)
Release notes
License: PHP License 3.01
* changes
- Windows script (launcher), renamed from compatinfo.bat to pci.bat (following naming
convention of PHP_CodeSniffer example
- *Nix script user pcicmd was renamed to pci and is located
now into PHP_PEAR_INSTALL_DIR (even on Windows platform)
- require now at least PEAR installer 1.5.4 rather than 1.4.3
(security vulnerability fixes)* news
- version 1.5.0 or greater WILL NOT support PHP3 detection
- if you still have PHP3 script, please use version 1.4.3 instead* bugs
- fixe #12350 (windows only) file in current directory is not found* QA
- Coding Standard fixes (following PHP_CodeSniffer recommandations)
- this release include also The Definitive Guide in version 1.5.0
that cover all versions
see http://pear.laurent-laville.org/PHP_CompatInfo for more format to download. - 1.4.3 (stable, 2007-04-03)
Release notes
License: PHP License 3.01
* changes
- fully fix for wrong PHP5 constants detection when tokens used inside strings. (see bug #10100)* QA
- this release include also The Definitive Guide in version 1.4.1 that cover all versions
until 1.4.3
see http://pear.laurent-laville.org/PHP_CompatInfo for more format to download. - 1.4.2 (stable, 2007-04-02)
Release notes
License: PHP License 3.01
* changes
- fixed wrong PHP5 constants detection when tokens used inside strings. (see bug #10100)* QA
- this release include also The Definitive Guide in version 1.4.1 that cover all versions
until 1.4.2
see http://pear.laurent-laville.org/PHP_CompatInfo for more format to download. - 1.4.1 (stable, 2007-02-12)
Release notes
License: PHP License 3.01
* changes
- upgrade license from PHP 3.0 to 3.01
- fixed wrong implementation of Console_Getargs feature fixed in version 1.33 (see bug #9252)
- set Console_GetArgs minimum dependency to version 1.3.3
- improve PHP5 detection with a new fresh up-to-date func_array.php file
(that include the new function "spl_object_hash" came with PHP 5.2.0)* QA
- Improve readability (hilighted source code) of User Guide 1.4.1 included in this release
that cover all versions 1.4.x
see http://pear.laurent-laville.org/PHP_CompatInfo for more format to download. - 1.4.0 (stable, 2006-09-27)
Release notes
License: PHP License 3.0
* news
- This version is features completed. The last options added since 1.3.2 are ability to ignore php modules/extensions functions list ("ignore_extensions") and also to ignore versions php functions list ("ignore_versions").- This package was initiated by Davey Shafik and is now only actively maintained by Laurent Laville.
- pcicmd console command was improved by using Console_Getargs package rather than Console_Getopt. SAPI and CLI version have same features now.
* quality assurance
fix dependencies (PHP and package) - 1.3.2 (stable, 2006-09-09)
Release notes
License: PHP License 3.0
* bugs
fixed "_splitfilename" console_table filter callback to works fine (limit to 80 cols) both with dir and only one file to parse.* news
stop using/generating package.xml 1.0 (that means you should have at least PEAR 1.4.0) - 1.3.1 (stable, 2006-09-02)
Release notes
License: PHP License 3.0
* bugs
- fixed bug #8604 : notice undefined property (with CLI version)* news
- add two custom options to beautify output
. split filename to 32 char max (limit full console_table to 80 columns)
it can be reduce or expand
. glue is a string to indicates that filename is splitted into multiline
(any string length and char is allow)* improvements
- windows script launcher for CLI version is now protected for blanks into directory name. Something like "C:\Program Files\" - 1.3.0 (stable, 2006-08-30)
Release notes
License: PHP License 3.0
* bugs
- fixed bug #8559 : fails to scan if finds empty file in path
- CLI version of PHP_CompatInfo won't print help usage more than once now
- CLI version of PHP_CompatInfo is now compatible with Console_Table separator and multi-line cells support (requires version 1.0.4 or better)* news
- a launcher for windows user (compatinfo.bat) to run the CLI version of PHP_CompatInfo.* improvements
- better render of PHP_CompatInfo_CLI output by using Console_Table separator. - 1.2.0 (stable, 2006-08-23)
Release notes
License: PHP License 3.0
* news
- add "ignore_constants" option to ignore an array of contants when calculating the version needed.
- add loadVersion() method to retrieve easily the functions list of a PHP version (or subset)
See also script "docs\examples\ignorePHP5implements.php" that demonstrates this new feature.* Quality Assurance
- more PEAR CS with code indentation, and phpdoc tag comment - 1.1.2 (stable, 2006-08-06)
Release notes
License: PHP License 3.0
* bugs
fixed bug notice to me by Markus Zapke-Gruendemann (thanks to him)
related to script case sensitive problem.Now all scripts and extensions code used may be write in lowercase, uppercase, or mixed.
- 1.1.1 (stable, 2006-07-27)
Release notes
License: PHP License 3.0
* bugs
- old Bug #2771 that was back alive : substr($var,4) not working for sapi_ extensions* improvements
- PECL extension are now really identified.
With php version when available, otherwise with '4-dev'
With pecl extension name in 'ext' key of result array
- all PHP extensions are now better supported.
methods were removed from 'func_array.php' file* Quality Assurance
- 'func_array.php' and 'const_array.php' files have now header comment block - 1.1.0 (stable, 2006-06-28)
Release notes
License: PHP License 3.0
* bug fixes
- Bug #8058 : php 5 T_* constants undefined when running on php 4* news
- Request #6056 : Add support for reporting max PHP versionArray result have now a new entry key 'max_version' that will give
the max PHP version you should have to run script(s) parsed.Don't forget to have a look on usage example (tests/checkMax.php)
- 1.0.2 (stable, 2006-06-15)
Release notes
License: PHP License 3.0
* bug fixes
- Bug #6581 : Functions missing in func_array.php* improvements
- PHP 3 functions are now supported
- functions and extensions bases were refreshed with latest versions of
. http://cvs.php.net/viewcvs.cgi/phpdoc/xsl/version.xml?revision=1.19
. http://cvs.php.net/viewcvs.cgi/phpdoc/funclist.txt?revision=1.35 - 1.0.1 (stable, 2006-06-12)
Release notes
License: PHP License 3.0
* bug fixes
- bug #4789 : error in packaged file structure
- bug #4942 : fixing my own bug (my == techtonik)
- bug #7813 : wrong PHP minimum version detection* news
- a web frontend (docs/examples/ci_frontend.php) that will help everybody
to check their PEAR packages installation.
- cleansweep on un-necessary files included into bundle
- Laurent Laville become a new leader to help Davey* improvements
- PHP minimum is set to 4.2.0 (4.3.0 required by release 1.0.0 is not necessary)
- PEAR installer is set up to 1.4.3 due to a serious vulnerability found on Nov 4, 2005. - 1.0.0 (stable, 2005-03-14)
Release notes
License: PHP License
Fixed Bug #3657
- Now unsets all constants that are PHP5 only. This means
that PHP5 detection on PHP4 is now highly unlikely but that PHP4
detection should be much better. - 1.0.0RC5 (beta, 2005-03-05)
Release notes
License: PHP License
Added Request #3656
Fixed Bug #3657 - 1.0.0RC4 (beta, 2005-02-21)
Release notes
License: PHP License
Updated the versioning info for better PHP5 support. Be aware that detection of PHP5 scripts on PHP4 is not supposed to work - though it often does work.
- 1.0.0RC3 (beta, 2005-01-11)
Release notes
License: PHP License
Fixed bug #2771
- 1.0.0RC2 (beta, 2004-08-03)
Release notes
License: PHP License
Now detects PHP5 features (like exceptions, __clone, interfaces, abstract classes).
PHP5 functions no longer marked as '-dev'. - 1.0.0RC1 (beta, 2004-06-12)
Release notes
License: PHP License
Now doesn't detect foo::bar() or $foo->bar() as a function call.
State moved to beta, first RC. - 0.8.4 (alpha, 2004-05-06)
Release notes
License: PHP License
Fixed more bugs. Thanks to techtonik.
- 0.8.3 (alpha, 2004-04-26)
Release notes
License: PHP License
* Some PHP5 compatibility work done.
* Other small things fixed for integration into PEAR_PackageFileManager.
* Added file_ext option to parseArray - 0.8.2 (alpha, 2004-04-24)
Release notes
License: PHP License
Bugs fixed from 0.8.1 (thanks to Jan Schneider again)
* Removed Sockets dependency
* Fixed some more version data - 0.8.1 (alpha, 2004-04-22)
Release notes
License: PHP License
Bugs fixed from 0.8.0 (thanks to Jan Schneider)
* Added Console_Getopt optional dependency.
* Fixed Console_Getopt require in CLI.php
* Fixed some version data
* Made it possible to use -f=FILE, -fFILE and -f FILE, same with -d in CLI script
* Added whitespace after the CLI help output - 0.8.0 (alpha, 2004-04-21)
Release notes
License: PHP License
Added a CLI Output script. An example of using it
can be found in the examples dir. Moved parseFolder() to parseDir().
parseFolder() has been aliased to parseDir(). - 0.7.0 (alpha, 2004-03-09)
Release notes
License: PHP License
* First release on PEAR-web.
* Added the ability to ignore files
in parseFolder() and parseArray(), and the ability to ignore folders
in parseFolder(). Added the ability to ignore functions in all public methods.
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #1360 | Wont fix | Bug | 2004-05-07 | PHP memory exhausted when parsing a huge dir | |
| #1361 | Wont fix | Bug | 2004-05-07 | A PHP 4.3 function is used, but I have 4.2.3 | |
| #1626 | Closed | Bug | 2004-06-12 | Class calls are seen wrong | |
| #2771 | Closed | Bug | 2004-11-16 | Substr($var,4) not working for SAPI_ extensions | |
| #3656 | Closed | Req | 2005-03-01 | usability patch | |
| #3657 | Closed | Bug | 2005-03-01 | php5 clone constant/token in all sources | |
| #3807 | Closed | Bug | 2005-03-14 | bad md5sum for file package2.xml | |
| #4789 | Closed | Bug | 2005-07-11 | error in packaged file structure: include in CompatInfo.php | |
| #4942 | Closed | Bug | 2005-07-29 | fixing my own bug | |
| #6056 | Closed | Req | 2005-11-24 | Add support for reporting max PHP version | |
| #6581 | Closed | Bug | 2006-01-25 | Functions missing in func_array.php | |
| #7813 | Closed | Bug | 1.0.0 | 2006-06-05 | wrong PHP minimum version detection |
| #8058 | Closed | Bug | CVS | 2006-06-28 | php 5 cnstants undefined when running on php 4 |
| #8559 | Closed | Bug | 1.2.0 | 2006-08-25 | PHP_CompatInfo fails to scan if it finds empty file in path |
| #8604 | Closed | Bug | 1.3.0 | 2006-08-31 | cli parse folder output notice Undefined property |
| #10100 | Closed | Bug | 1.4.1 | 2007-02-14 | Wrong parsing of possible attributes in strings. |
| #12350 | Closed | Bug | CVS | 2007-10-26 | file in current directory is not found |
| #12451 | Closed | Bug | 1.5.1 | 2007-11-15 | DOS CRLFs in every single file |
| #12857 | Closed | Req | 1.5.1 | 2008-01-08 | Add the option to locally mask exceptions |
| #13094 | Closed | Req | 1.5.1 | 2008-02-09 | PHP5 method chaining |
| #13131 | Closed | Bug | 1.6.0 | 2008-02-16 | Undefined variable: php5_method_chaining ... |
| #13137 | Closed | Bug | 1.6.1 | 2008-02-17 | Standard test suite failed |
| #13138 | Closed | Req | 1.6.1 | 2008-02-17 | separate constants and tokens in results |
| #13147 | Closed | Req | 1.6.1 | 2008-02-19 | CLI: add filter file extension option on parsing directory |
| #13417 | Closed | Bug | 1.7.0a1 | 2008-03-17 | Parser ignore class-method that are named as standard php functions |
| #13493 | Closed | Req | 1.7.0b2 | 2008-03-25 | customize CLI data output |
| #13568 | Closed | Bug | CVS | 2008-04-02 | User functions are not ignored |
| #13873 | Closed | Bug | 1.7.0 | 2008-05-11 | Undefined Offset Error for function_exists detection |
| #14095 | Closed | Doc | 2008-06-06 | User note that is a documentation problem | |
| #14187 | Closed | Bug | 1.8.0b4 | 2008-06-19 | cli -r switch does not work in 1.8.0.b4 |
| #14696 | Closed | Bug | 1.8.0 | 2008-09-22 | Stalls at 90% when processing directory |
| #15011 | Closed | Bug | 1.8.1 | 2008-11-13 | XSL extension not detected |
| #15184 | Closed | Bug | 1.8.1 | 2008-11-29 | 'stat' function version info incorrect |
| #15185 | Closed | Bug | 1.8.1 | 2008-11-29 | function 'filter' does not actually exist |
| #16031 | Bogus | Bug | 1.9.0 | 2009-03-13 | cURL functions not detected |
| #16081 | Bogus | Req | 1.9.0 | 2009-04-08 | Support for extended classes |
| #16247 | Wont fix | Req | 1.9.0 | 2009-05-21 | Detecting global variables |
| #16302 | Closed | Bug | 1.9.0 | 2009-06-07 | Exception class is detected as 4.0.0 code |
| #17029 | Closed | Bug | 1.9.0 | 2010-01-24 | get_defined_constants() change |
| #17804 | Assigned | Bug | 1.9.0 | 2010-08-23 | wrong caps for Console_GetArgs dependency |
| #18150 | Open | Bug | 1.9.0 | 2010-12-27 | pciconf script name conflicts with FreeBSD tool pciconf |
| #18780 | Open | Bug | 1.9.0 | 2011-09-02 | PHP Deprecated: Assigning the return value of new by reference is deprecated |
| #18781 | Closed | Bug | SVN | 2011-09-02 | invalid package name/package file "PHP_CompatInfo/package.xml" |
| #18790 | Closed | Bug | SVN | 2011-09-05 | Does not install from SVN |
| #18881 | Open | Bug | 1.9.0 | 2011-09-28 | Parameter count isn't recognized |
| #19064 | Closed | Bug | SVN | 2011-11-21 | Tests fail on CI server |