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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]