Re: Re: suggestion for pecl packages
| From: | Sara Golemon | Date: | Mon, 27 Sep 2004 22:13:46 +0000 |
| Subject: | Re: Re: suggestion for pecl packages | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1400@lists.php.net to get a copy of this message | ||
> > As Andrey said: You can use the Reflection API to get the version number
> of
> > an extension:
> >
> > $ext = new ReflectionExtension("tidy');
> > echo $ext->getVersion();
>
> Yes I know that, it's PHP5 specific. What about PHP4 ?
>
I'm bundling up a runkit extension as we speak, I can throw in a
runkit_ext_version() function while I'm at it (which will allow access to
the version ID of other extensions too). Since my goal for the extension as
a whole is compatability back to 4.0.0 this should cover your need.
-Sara (Who meant to have it published yesterday but it just keeps growing)