Hello,

I'm currently looking into porting some extensions (both internal and
public) to PHP 8 while still keeping support for PHP 7 (for the public
ones) and PHP 5.6 (don't ask :-().

In many cases, I've been using the ZEND_ENGINE_3 define to handle the
PHP 5/7 difference.

Now, the Zend Engine version seems to have been increased to 4 (which
feels warranted given the zval* to zend_object* changes for object
handlers), but ZEND_ENGINE_3 is still defined whereas there's no
ZEND_ENGINE_4.

Is this something that might change or should I just use
PHP_VERSION_ID comparisons to deal with the zval* to zend_object*
changes?

Philip

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to