Re: ZEND_ENGINE_4
| From: | G. P. B. | Date: | Thu, 26 Nov 2020 02:54:33 +0000 |
| Subject: | Re: ZEND_ENGINE_4 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112292@lists.php.net to get a copy of this message | ||
On Thu, 26 Nov 2020 at 02:42, Sara Golemon <pollita@php.net> 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