Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112292 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 71251 invoked from network); 26 Nov 2020 03:28:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Nov 2020 03:28:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D4BA3180533 for ; Wed, 25 Nov 2020 18:54:46 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 25 Nov 2020 18:54:46 -0800 (PST) Received: by mail-ed1-f51.google.com with SMTP id q16so608105edv.10 for ; Wed, 25 Nov 2020 18:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pZaa0Nz5olDPQ4QmzUvl+vUzmRuZ5Y3fSHX+AXPx0ec=; b=KhEpAY2Ld9FWdSKwD/aZyAlSPBBlZXwNU8KYZZ+BzWGR3E45ZRT8+CmaxDrNPN2dDe JLxJmB3EGxxCn5hvRrHPKma8rPtmDsWWg3Tv4918wG/bsOW96jyWLc3u0kcOkHid6IPK gSvhvacHkTD84sunvFlPkrhhVQemjlubSYjpj0pZQv5z+byStZbaeqonXhff21wbN4vY HC5BFdaZ4X/+gbWiooQdpca09NAIyS/3Dw+runId3soSbCc2zlNH8cNnqeGkkYkgc6z4 rpLPGBVRgOlDung6y+5P7MdkqY4MP8MXEem/X6CHT7E2VpY5xx6DyMkpcGuhHXzQ9Fqw uEwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pZaa0Nz5olDPQ4QmzUvl+vUzmRuZ5Y3fSHX+AXPx0ec=; b=VHU6qtTneVElnjWgkbciKlB9CJJIUrOXRVwJl/GCa+ePCTna1F9g980WCnDeHeP185 2lRm9fkejljyRVri9SS3lSj2PtGr36gvvA1ZQtqa0khxIJY7HnR1dLTKHzANVftnSJmD N73UxQvBdqN8TKlfBVJFuQL0cnagQDeQMJTGxBE3tNakdxdDeaSIqF9QFXA6jy0HVkxr 1ZltWEfIQmBm7l1UXHvVSYVb08xYZ91IzFrIkhUcRFJxO8cUthYoxzHKSpGNqf5eQSIJ Ys5V1JBbhCS1UTuNwkZc+s5wBvYRjflVI4GDcQPZbAjyOyVDuItnrm7zXekNrJ7Kbxt0 EDBg== X-Gm-Message-State: AOAM531wNI4c4bG1jJ1/SxKEEag8e+XDEPLv9kgoz0ALh4l7hLiM5NPB wrUVxz8E/DPdiWV27Fr02XIU82/8PMIElp9xcKA= X-Google-Smtp-Source: ABdhPJyHtM+9ZPfhnn7pS5JDfKALwmVi0KWCw75l9CQ11lhgVR4mKz/HcdvhuEy8Ze5sbbXYc1us6EEpWV3+JOr6Pns= X-Received: by 2002:a05:6402:31a5:: with SMTP id dj5mr574505edb.325.1606359284882; Wed, 25 Nov 2020 18:54:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 26 Nov 2020 02:54:33 +0000 Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000008ea10c05b4f9aa10" Subject: Re: [PHP-DEV] ZEND_ENGINE_4 From: george.banyard@gmail.com ("G. P. B.") --0000000000008ea10c05b4f9aa10 Content-Type: text/plain; charset="UTF-8" On Thu, 26 Nov 2020 at 02:42, Sara Golemon wrote: > Maybe just a wee bit late to ask this question, but shouldn't we have long > since changed `#define ZEND_ENGINE_3` to `#degine ZEND_ENGINE_4` ? > > Was that deliberate since (unlike with 4->5 and 5->7) the engine's API > surface area hasn't skewed so bad? > > I ask because ZEND_VERSION did get updated to the 4.x.x series. > > -Sara > Wasn't there discussion about dropping the ZEND_ENGINE_* constant? As the Zend API changes between minor versions it is debatable how better it is to check for that constant instead of a version number. Best, George P. Banyard --0000000000008ea10c05b4f9aa10--