[php-src] PR #21043: feat: zend_extension can have a zend_module_entry
| From: | morrisonlevi | Date: | Tue, 27 Jan 2026 04:33:18 +0000 |
| Subject: | [php-src] PR #21043: feat: zend_extension can have a zend_module_entry | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34672@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21043
Author: morrisonlevi
This is a work-in-progress and a starting point of discussion to have first-class hybrid
zend_extension/zend_module_entry extensions. The intention is that they load the same whether
through
extension= or zend_extension= and hooks from both kinds of
extensions are ran at the correct place and time. The only special-casing really needed so far is to
transfer the DL_HANDLE handle to the zend_extension and null it out in the
zend_module_entry.
These so-called "hybrid" extensions are common for debuggers, observers, tracers, etc.
Making it first class is a bit nicer.