Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69565 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78291 invoked from network); 15 Oct 2013 15:20:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2013 15:20:01 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.180 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.217.180 mail-lb0-f180.google.com Received: from [209.85.217.180] ([209.85.217.180:46933] helo=mail-lb0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/68-31591-02D5D525 for ; Tue, 15 Oct 2013 11:20:01 -0400 Received: by mail-lb0-f180.google.com with SMTP id q8so7030545lbi.11 for ; Tue, 15 Oct 2013 08:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=yIGpC/1Scof89qbe53asz7cAOZfHCL+55mbQS28WE10=; b=RlkiUFKeSD9qZxKskl8c/q8e6Qh0UwGRy/Tto0hbNnBxvuEfDVFLMabqRwvE8+VrbJ wBDFC5VePleID+K17+xarSiinQHpu6AicsT3fgsixrqWhYmrl21KR5fJR1UpmbvbRjvw cnQh7cEDcEH1k4Ub1BtwK48GPpnZe1AuGkTliJdc15rqUHnjuAENQr+qoOOurggomSNf f2ZDVVMP8hrnp0RTEuqzqRQJHJAGsAvo5P7LkdoD20ygIhmxa6a+eZpLsF6QZnGEdZJQ RcShaP7wL2kNd+T4vpS+/4mCmqzfKU3mDraMIgtmqMN2PVs8eqaRkRApNcu5GEs5prUU u+Lw== MIME-Version: 1.0 X-Received: by 10.112.234.168 with SMTP id uf8mr2138676lbc.35.1381850398322; Tue, 15 Oct 2013 08:19:58 -0700 (PDT) Sender: mike.php.net@gmail.com Received: by 10.114.184.19 with HTTP; Tue, 15 Oct 2013 08:19:58 -0700 (PDT) In-Reply-To: <1381850186.29722.372.camel@ghost> References: <1381850186.29722.372.camel@ghost> Date: Tue, 15 Oct 2013 17:19:58 +0200 X-Google-Sender-Auth: kohDtgoJ-K6SlIbQMHP9-iCpKMw Message-ID: To: Anatol Belski Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Core extension versions From: mike@php.net (Michael Wallner) On 15 October 2013 17:16, Anatol Belski wrote: > Hi, > > as part of the extension version check on PECL it turned out, that the > extensions in the core are almost completely out of track with their > versions, not even to talk about version macros names. That regards to > exts imported from PECL as well as to the exts never been in PECL. Here > are a few examples of zend_module_entry version strings: > > ext/simplexml > "0.1" > > ext/bz2 > NO_VERSION_YET (== NULL) but was PECL 1.0 in 2003 > > ext/pdo > "1.0.4dev" whereby it was PECL 1.0.3 in 2006 > > and the winner might be that from ext/tokenizer > > "0.1", /* Replace with version number for your extension */ > > as if it were just generated :) > > Only a few extensions, just to name some - zip, dom, oci8, track the > version number. > > Actually that doesn't look solid for the extensions being in the core > for years. And while that's a minor issue, it doesn't really smell good. > So, do we wanna do something about it? > I'd use PHP_VERSION for those extensions not explicitely managing a version. -- Regards, Mike