Re: [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

From: Date: Thu, 27 Sep 2001 10:11:19 +0000
Subject: Re: [RFC] Versioning rules for PHP/Zend/PEAR/Extensions
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-66722@lists.php.net to get a copy of this message
At 12:52 PM 9/27/2001 +0200, Stig Sæther Bakken wrote:
But what do you think about the versioning scheme Jani proposed?
I think we should see if we can't think of something more robust. I think returning a string such as "3.4.6" with the meaning Jani laid out is a first step but it doesn't give as much detail as one might want. I'm just going to bring up an idea but I haven't really thought it through so if it's dumb don't hesitate to say so :) We'd have a function get_version_information("extension", ALL_INFO) which would return an associative array with all sorts of useful information such as the "3.4.6" scheme, possibly what functions it supports (this could be done with a flag so that not every call would return this information), what constants it supports, possibly some information about what C library versions which it's wrapping (when applicable) it supports. For example MySQL 2.23.5-2.23.7. Anyway, I know it's just a rough idea I'm throwing at you guys but I think it might be interesting. Andi

« previous php.dev (#66722) next »