Re: Extension versions
| From: | Jordi Boggiano | Date: | Thu, 26 Apr 2012 14:09:18 +0000 |
| Subject: | Re: Extension versions | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60321@lists.php.net to get a copy of this message | ||
On 26.04.2012 15:50, Christian Stocker wrote:
> dom has the version 20031129 which is greater than 5. Not sure if anyone
> really checks against that, since not much changed there since obviously
> 2003 ;)
Yup it's the only one I noticed but since it's fairly well established,
usually you don't need to check if it's there (AFAIK).
> But the problem with extensions like dom is the used libxml version
> which actually causes problems, not the version of the extension itself.
> There's a bug in libxml < 2.7.0 which can hit you hard for certain
> namespaces. So getting just the version number won't help you here.
>
> But that's not something we have to take care of IMHO, one can get that
> information with LIBXML_VERSION or LIBXML_DOTTED_VERSION
True, and maybe we should actually expose libxml and other bundled libs
as packages too via Composer. Could be handy.
Cheers
--
Jordi Boggiano
@seldaek - http://nelm.io/jordi