Re: Versioning (resent AGAIN due to lack of replies)
| From: | Jani Taskinen | Date: | Mon, 17 Sep 2001 01:30:47 +0000 |
| Subject: | Re: Versioning (resent AGAIN due to lack of replies) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66078@lists.php.net to get a copy of this message | ||
On Sun, 16 Sep 2001, Sterling Hughes wrote:
> +1, perhaps from an api perspective we could have something like:
>
> $vn = php_get_version(GD);
>
> or if the argument is empty, return the main php version:
>
> $phpVer = php_get_version();
>
> -Sterling
We could just add an optional argument to phpversion() ?
This will work as per discussion with Stig (on IRC) and
using the (yet to be written) function version_compare() to
do the checking.
There should be an entry in _zend_module_entry struct for
the version string (of the extension) ?
--Jani