Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60322 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83696 invoked from network); 26 Apr 2012 14:50:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Apr 2012 14:50:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:48484] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/35-54822-0B0699F4 for ; Thu, 26 Apr 2012 10:50:25 -0400 Received: by yhfq11 with SMTP id q11so1073553yhf.29 for ; Thu, 26 Apr 2012 07:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Lq4mgR3EGf57BWxlq747iG0hvqHrjYB2aPDs6xA74kI=; b=hDg8bOBNcD1WDAmpibs3iJhD4E3D56sEDCyFeUF9d4WjkndaPXtxThWlxAkzKj33+r 97a83mo9IWiNzs64eMDBHZh8N2iHLTyWNCfDLtEDf5xHI7fNINC+43exVUD12Uqm5x7u 73lxDaTdJoPVoisgEKHqOjJeDHOeizAhe/Oy3zL1le27Rojv2etlOnZTqje5lMHM0Bcj 6cBloJEGMjL14ZkTLcF8siRVDbBilhZLe/9VJg/7MOvpsjPtTUVZ2f4exH5oeH/ozJ+u euceh18F/iKF0/yICCAveqTzJqPjZOldxhD/6bTCgx+q4Xbo1b17jn3Dopz5N8pq1vaN aoLg== MIME-Version: 1.0 Received: by 10.236.175.41 with SMTP id y29mr6882558yhl.60.1335451822749; Thu, 26 Apr 2012 07:50:22 -0700 (PDT) Received: by 10.147.51.11 with HTTP; Thu, 26 Apr 2012 07:50:22 -0700 (PDT) In-Reply-To: <4F99570E.4030603@seld.be> References: <4F956B74.4040104@seld.be> <1335197218.7272.109.camel@guybrush> <4F994F0A.4080001@seld.be> <4F995291.8040507@liip.ch> <4F99570E.4030603@seld.be> Date: Thu, 26 Apr 2012 16:50:22 +0200 Message-ID: To: Jordi Boggiano Cc: Christian Stocker , =?UTF-8?Q?Johannes_Schl=C3=BCter?= , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Extension versions From: hannes.magnusson@gmail.com (Hannes Magnusson) On Thu, Apr 26, 2012 at 16:09, Jordi Boggiano wrote: > 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. libxml isn't bundled.. That is why its often hard to understand why stuff works on one server but not the other :) For many extensions wrapping external libraries it is more useful to know the version of that lib then the extension. -Hannes