Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79123 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48944 invoked from network); 24 Nov 2014 12:33:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2014 12:33:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=dragoonis@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dragoonis@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.173 as permitted sender) X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.216.173 mail-qc0-f173.google.com Received: from [209.85.216.173] ([209.85.216.173:36687] helo=mail-qc0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/32-33396-CA523745 for ; Mon, 24 Nov 2014 07:33:48 -0500 Received: by mail-qc0-f173.google.com with SMTP id i17so6715493qcy.18 for ; Mon, 24 Nov 2014 04:33:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UuXAiTAJDeh5/lk4HUuV8nquz3mkLeiC9X0wYBNNPzo=; b=aGpbIjcQWBJSsrHr8Qm68tcy+pb4XrJZT/Se5q1JrbV8TJ4KQG+5POPj54rAqrpI+T a5FicBxGVIPUMPMHWSdbXo5k3FYk9qwezB+GXNwJq6rfQ6SbDMTPbEpKLZ6cCWstq7ZE nSocUeBLuE+/XzTTJT/wtW5+ft08LQNwV7fo0CN8tBFZiFHoSRNy0OcPhaVVZK8pe47N oC1iUpHFc+/tr3tn8CsMvXBzfV5KhgfLT71XA18QbJQxd6twbJrcP14kKBxetejCTwn/ FX9klEREg4erZwxPro7PwmLVpSBZIy4Khn5mda5Mj+ItCOGHay9+tgIynxaDoh4H5HaD 8egg== MIME-Version: 1.0 X-Received: by 10.229.105.196 with SMTP id u4mr28371458qco.27.1416832426017; Mon, 24 Nov 2014 04:33:46 -0800 (PST) Received: by 10.229.179.132 with HTTP; Mon, 24 Nov 2014 04:33:45 -0800 (PST) Received: by 10.229.179.132 with HTTP; Mon, 24 Nov 2014 04:33:45 -0800 (PST) In-Reply-To: References: <47A69FC3-2DAF-492E-B780-F203211E531F@ajf.me> Date: Mon, 24 Nov 2014 12:33:45 +0000 Message-ID: To: Nikita Popov Cc: PHP Internals List , Andrea Faulds Content-Type: multipart/alternative; boundary=001a11334604758b8d05089a01d3 Subject: Re: [PHP-DEV] Zend Engine 3 From: dragoonis@gmail.com (Paul Dragoonis) --001a11334604758b8d05089a01d3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 24 Nov 2014 12:32, "Paul Dragoonis" wrote: > > > On 24 Nov 2014 12:18, "Nikita Popov" wrote: > > > > On Mon, Nov 24, 2014 at 1:10 AM, Andrea Faulds wrote: > > > > > Good evening, > > > > > > Since phpng, int64, and perhaps other future changes in PHP 7 are a pretty > > > big change, I think we ought to bump the major version number of the Zend > > > Engine, from Zend Engine 2 to Zend Engine 3. > > > > > > I have a pull request open which would do this, although it needs updating > > > to correct extensions checking for ZEND_ENGINE_2: > > > https://github.com/php/php-src/pull/829 > > > > > > Are there any objections to the idea? I realise work on the engine isn=E2=80=99t > > > done, but that doesn=E2=80=99t mean we can=E2=80=99t name the new ver= sion. After all, we=E2=80=99ve > > > named PHP 7, and it doesn=E2=80=99t exist yet, either. > > > > > > Thoughts? > > > > > > > Why do we need this define at all? Imho extensions should be checking > > against the API version, rather than a ZEND_ENGINE_N constant. This is more > > precise (it's not like extension code stays the same between minor > > versions), but the ZEND_ENGINE_N constant also has the problem that it > > targets only 5.x, even though the code it guards would usually be relevant > > to 7.x as well. > > Paying to way for now asking someone to know the specific individual API On my phone sorry. This should be: "Paving the way to not asking someone" versions and their features, the convenience of saying "I know ZE 3 supports this and ZE2 does not" would be a worth while addition. > > Especially for newcomers to ext dev. > > > > > Nikita --001a11334604758b8d05089a01d3--