Re: extension/module versioning
| From: | Wez Furlong | Date: | Sun, 06 May 2001 10:14:15 +0000 |
| Subject: | Re: extension/module versioning | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-54089@lists.php.net to get a copy of this message | ||
On 2001-05-06 02:06:42, avi@itsg.net.au wrote:
> what are the chances of having a function call for every extension that
> returns the version? this would be extremely useful for determining
> whether the correct version is installed, rather than checking to see
> if the function_exists().
> $version_id = xml_version();
As someone else suggested, get_extension_version('xml') is probably the
better way to implement this.
The zend module structure could very easily be adapted to retain the
version number.
Being lazy, I would like to see it bump automatically, but since it would
need to change each time a parameter/function is added/removed that's
difficult :-)
--Wez.