[php-src] PR #12166: Zend: Remove dependency on zend.h for certain headers

From: Date: Sat, 09 Sep 2023 19:45:25 +0000
Subject: [php-src] PR #12166: Zend: Remove dependency on zend.h for certain headers
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23615@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12166 Author: Girgias Allows to move AST definitions out from zend_compile.h and into zend_ast.h The motivation for this is to be able to move the FCC/FCI struct declarations and the relevant functions into their own header, so that it can be included in `zend_gc.h and move zend_get_gc_buffer_add_fcc() from Zend_API.h to zend_gc.h`. However, currently `zend_gc.h does not depend on zend.h and I don't think it should, however OBJ_RELEASE() which is used by zend_fcc_dtor() (which would logically be moved to the new header for FCI/FCC strucs) means it would have a dependency on Zend/zend_objects_API.h` thus the starting point for the dependency reduction.

« previous php.git-pulls (#23615) next »