Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69566 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81433 invoked from network); 15 Oct 2013 15:45:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2013 15:45:43 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.44 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:57899] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/09-31591-5236D525 for ; Tue, 15 Oct 2013 11:45:42 -0400 Received: by mail-la0-f44.google.com with SMTP id eo20so7178490lab.3 for ; Tue, 15 Oct 2013 08:45:38 -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=JvXz6N8XAiaoO0xmVqHFXT35t8pZBM/zj+XmDRvXtLk=; b=W6g0lt8kXQ2BXnBRSFrjPEMH4H255xrRwUZgh//RowxxpPb93qX0bSFvNP9taZ4Y1V 1p9sgN13zknbeAuOc0UQD4SfzT3fdMkKniasQIrDjKN43IEuj8l6uIR7FSUOIWz7gHwV HALtErvfwKYq1YPpzVKJ0kklc1G5ZXmZHJ5eS/PcSPLhS0QYDlhOg5iBSdwC9wgHHsG4 q/DdOMmxJAtSeq1oKPFL7tE6Og5JP09aHbx3/aFwGVefabJkM75J36WhBNSPXH8Fq33F N9C+CiIwd2BSvzNhNOT19PuQ8nxrTskyI0/ZPN6Eal19md9ee3mvYkDtfNQIQazVXPnq z6yQ== MIME-Version: 1.0 X-Received: by 10.112.167.3 with SMTP id zk3mr35509175lbb.23.1381851938618; Tue, 15 Oct 2013 08:45:38 -0700 (PDT) Received: by 10.112.148.138 with HTTP; Tue, 15 Oct 2013 08:45:38 -0700 (PDT) In-Reply-To: References: <1381850186.29722.372.camel@ghost> Date: Tue, 15 Oct 2013 17:45:38 +0200 Message-ID: To: Michael Wallner Cc: Anatol Belski , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Core extension versions From: pierre.php@gmail.com (Pierre Joye) On Tue, Oct 15, 2013 at 5:19 PM, Michael Wallner wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > PHP_VERSION-bundle for clarity in bug report :) Cheers, -- Pierre @pierrejoye | http://www.libgd.org