Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29864 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37380 invoked by uid 1010); 29 May 2007 14:16:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37365 invoked from network); 29 May 2007 14:16:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2007 14:16:09 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.82.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.82.226 wx-out-0506.google.com Linux 2.4/2.6 Received: from [66.249.82.226] ([66.249.82.226:21404] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/68-08609-7A53C564 for ; Tue, 29 May 2007 10:16:09 -0400 Received: by wx-out-0506.google.com with SMTP id i28so1221436wxd for ; Tue, 29 May 2007 07:16:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ggaJqRr1q9g84g1briP2cfNDn1egF/XEGSZbeG5NXXO3NIWpYfThf6b2zRkTCOCruJ5nF2SskOeJdG1Mg96OcBaPv51mgMrLNELJjQkJZFCEgBWaUNiAm2+gqYWNnlTpNZOtUUjxjMGwX6AN68CVi3Mw6XiuDIsXE0gkDOw7yTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NK8CWcxuG/+B3++6Cy9k2uapJNmk5kdVCF51dwB+dqkyAMQfwzh8ZMDpDYdYBPe7CE0aAMj/UrZBRVqxZxv85attIZss/2rN0MuGcxflT2l3XE52k2mf89bAcJpbsXpy4ne4fodX72UprXiAlXSjzbFf6BAAxXdloGkHkwF8CIE= Received: by 10.90.87.5 with SMTP id k5mr4671803agb.1180448165434; Tue, 29 May 2007 07:16:05 -0700 (PDT) Received: by 10.90.84.3 with HTTP; Tue, 29 May 2007 07:16:05 -0700 (PDT) Message-ID: <10845a340705290716h33d23284j1714658e7e6d504c@mail.gmail.com> Date: Tue, 29 May 2007 15:16:05 +0100 Reply-To: RQuadling@GoogleMail.com To: "Gaetano Giunta" Cc: internals@lists.php.net In-Reply-To: <4658DD8A.8050004@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4658DD8A.8050004@gmail.com> Subject: Re: [PHP-DEV] RE: Fixing PECL + Core From: rquadling@googlemail.com ("Richard Quadling") My post about SNAPS and PECLS a little while ago seems relevant to this. As a windows user, I have to rely on pre-compiled binaries. It was/is my understanding that SNAPS would provide me with most currently succesfully compiled PHP, with some extensions built in and some extensions for my ext directory - those which are deemed important enough (judge important as you would like). PECL contained other extensions - those NOT part of the windows "standard" package. On 27/05/07, Gaetano Giunta wrote: > Just to add my experience (even though the original poster explicitly > asked for single extensions not to be mentioned) from a > not-completely-unrelated problem: some extensions have an "internal" > version number that is not always updated when the userland API of said > extension is changed - see eg. Json and the recent change of behavior on > decoding scalar values. > > This makes it very hard for people maintaining php libraries to code > defensively and test the version in use to enable workarounds: > - the extension version number is useless (if not managed correctly) > - the php version number is useless, since the extension might have been > downloaded and compiled from pecl and not correspond to the version that > is distributed with the core > > The only option left in this situation is to test the functionality > needed first, then use it, much as it is done in js - a very sad state > of things... (of course I would not recommend disabling upgrade / > backport of a php extension from pecl as a solution) > > The fact that the extension lives in both pecl and core and the two > might be slightly out of sync does not help at all when trying to find > out the cause of regressions... > > Bye > Gaetano > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"