Re: Core extension versions

From: Date: Tue, 15 Oct 2013 15:19:58 +0000
Subject: Re: Core extension versions
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-69565@lists.php.net to get a copy of this message
On 15 October 2013 17:16, Anatol Belski <ab@php.net> 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

« previous php.internals (#69565) next »