= PHP_CompatInfo
:description: Find out the minimum version and the extensions required for a piece of code to run.
include::revision.txt[]
include::attributes.txt[]


.{revdate}: PHP_CompatInfo {revnumber} Released
************************************************************************
*Release highlights:*

- Add both support to PHP 5.4.21 and 5.5.5
- The dynamic reference loader (--reference DYN) is now fully operational

Read the link:CHANGELOG.html[CHANGELOG] for a full list of all
additions, changes and bug fixes. Changes are documented in the
updated link:phpci-book.html[User Guide]. See the
link:INSTALL.html[Installation page] for downloads and installation instructions.

'Laurent Laville'
************************************************************************

== Introduction

include::introduction.txt[]

The [label label-inverse]#phpcompatinfo# tool may inform you on what of those extensions are or not loaded on your system.

Run command
----
    $ phpcompatinfo list-references
----

Will output results as follow. May differ depending of your extensions loaded.
====
----
include::list-references.txt[]
----
====
* The `L` flag tells us what extensions are loaded
* The `VERSION` column specify the version of extension that was documented
* The `PHP min/Max` column specify which are the php versions (minimum and maximum) supported by the extension

== Documentation

[role="lead"]
Head to the PHP_CompatInfo link:phpci-book.html[User Guide] available online
for information or examples to get started.

The PHP_CompatInfo book is available in a selection of formats.
You can download the documentation for offline reading.

[options="header", role="table table-bordered"]
|===========================
| Language | Single HTML file | Many HTML files | HTML Help file | PDF A4 file | PDF US file | EPUB file
| English | link:{mandir}/en/phpci-book.html.zip[phpci-book.html.zip] | link:{mandir}/en/phpci-book.chunked.zip[phpci-book.chunked.zip] | link:{mandir}/en/phpci-book.chm.zip[phpci-book.chm.zip] | link:{mandir}/en/phpci-book-a4.pdf[phpci-book-a4.pdf] | link:{mandir}/en/phpci-book-us.pdf[phpci-book-us.pdf] | link:{mandir}/en/phpci-book.epub.zip[phpci-book.epub.zip]
|===========================

== Appendixes

=== Changelog

You want to learn more about previous versions. Read the full link:CHANGELOG.html[changelog].

=== License

You are free to do whatever you want, even in a commercial environment.
You are also encouraged to contribute.
Read the full link:LICENSE.html[license].

=== Credits

I would like to thanks here specially a guy without who this PHP QA tool
won't be born.

[quote, Davey Shafik, http://daveyshafik.com/]
____
Original author, he introduced his http://pear.php.net/pepr/pepr-proposal-show.php?id=27[proposal]
in 2004, that gave birth of a PEAR package named
http://pear.php.net/package/PHP_CompatInfo[PHP_CompatInfo].
____

I would also like to thanks a guy who help me to enhance support of more than 50 extensions.

[quote, Remi Collet, http://blog.famillecollet.com/]
____
Contributor of many extensions reference and unit tests. He has joined the team
on version 2.0.0RC2
____

=== Links

All pages of this site, and user guide were generated with AsciiDoc 8.6.8,
assisted by FOP 1.0 (for PDFs). Automated build process uses Phing 2.6.1

Convert the HTML Help source (.hhp and .html) files to HTML Help (.chm) files
using the Microsoft HTML Help Compiler.

* http://www.methods.co.nz/asciidoc/index.html[AsciiDoc]
* http://pygments.org/[Pygments - Python syntax highlighter]
* http://xmlgraphics.apache.org/fop/[Apache FOP]
* http://msdn.microsoft.com/en-us/library/ms670169%28VS.85%29.aspx[Microsoft HTML Help Compiler]
* http://phing.info/trac/[Phing]
