ZEND_ENGINE_4 define?

From: Date: Mon, 10 Aug 2020 05:56:20 +0000
Subject: ZEND_ENGINE_4 define?
Groups: php.internals 
Request: Send a blank email to internals+get-111412@lists.php.net to get a copy of this message
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

« previous php.internals (#111412) next »