Re: Re: suggestion for pecl packages

From: Date: Sat, 25 Sep 2004 16:13:04 +0000
Subject: Re: Re: suggestion for pecl packages
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1390@lists.php.net to get a copy of this message
Hatem Ben Yacoub wrote: > The sources contain version info, but not binary. I've given the example > of tidy, tidy extension have a function tidy_get_release(); wich return > the release date. > It could be also the version ? why not ? I know it's not a requirement, > but i'm giving a suggestion. phpinfo() print what's giving in the > PHP_MINFO_FUNCTION() ... we can just add the version info somewhere ? As Andrey said: You can use the Reflection API to get the version number of an extension: $ext = new ReflectionExtension("tidy'); echo $ext->getVersion(); johannes

« previous php.pecl.dev (#1390) next »