Re: Re: Declare minimum PHP version required?
| From: | Marco Pivetta | Date: | Mon, 03 Feb 2014 07:28:51 +0000 |
| Subject: | Re: Re: Declare minimum PHP version required? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-72048@lists.php.net to get a copy of this message | ||
On 3 February 2014 08:07, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> It may be good to have Zend API to register required library versions for
> modules. For example,
>
> declare('libxxx_version'=1.0.0);
>
> If it does not much, failed at include.
>
As Pierre said, dependency managers are indeed the current way of solving
this.
I think there was some previous discussion about cleaner usage of semver
(or similar approaches) in the extensions though, since some of the
extensions actually have inconsistent or hardly recognizable versioning.
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/