Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95960 invoked from network); 3 Feb 2014 07:29:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2014 07:29:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.41 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.216.41 mail-qa0-f41.google.com Received: from [209.85.216.41] ([209.85.216.41:57892] helo=mail-qa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/03-15628-A454FE25 for ; Mon, 03 Feb 2014 02:29:15 -0500 Received: by mail-qa0-f41.google.com with SMTP id w8so9678818qac.0 for ; Sun, 02 Feb 2014 23:29:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=E2HbfGQpVcv0RB3zjDgjsY1alG8jYJgkQL3xGiPFI88=; b=bEuhKzO2xflXZmChP26u805a3LcwgVoLgD7mxxrvetjuoF/coV36D4r/elywNhRNRt EesBlJjJggZ0rqeREuU552MoYOUUknU3C/NP5/GrVTpVpnO0l9EdhedJo5fc5Z53TFII 8w4WIkKOTUFAPcz9IcrMQEgN/7CS7I5BUuw0CcQs3pYaAk9SMjqsqEJ9AArapUSBVqxA iw8DupIuLRR/2hPR1pteHcFH6s68jEAyE8hQALJZc109YuNvpnks9imx4O9WA7LCCu9x 6C5PUBZ0jqOUA7oq9cZbOf4M4zosItbOHyytNFpkASeIzUtuUeevIWEir594MHYH44/d sixw== X-Received: by 10.229.209.193 with SMTP id gh1mr48586848qcb.19.1391412551981; Sun, 02 Feb 2014 23:29:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.20.231 with HTTP; Sun, 2 Feb 2014 23:28:51 -0800 (PST) In-Reply-To: References: Date: Mon, 3 Feb 2014 08:28:51 +0100 Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11339e58e59f9b04f17b7ad1 Subject: Re: [PHP-DEV] Re: Declare minimum PHP version required? From: ocramius@gmail.com (Marco Pivetta) --001a11339e58e59f9b04f17b7ad1 Content-Type: text/plain; charset=UTF-8 On 3 February 2014 08:07, Yasuo Ohgaki 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/ --001a11339e58e59f9b04f17b7ad1--