[php-src] PR #23246: Zend: use zend_object* for zend_closure this_ptr field
| From: | Girgias | Date: | Thu, 13 Aug 2026 13:38:02 +0000 |
| Subject: | [php-src] PR #23246: Zend: use zend_object* for zend_closure this_ptr field | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37820@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23246
Author: Girgias
The main motivation was to convert
Z_PARAM_OBJECT{_OR_NULL} to
Z_PARAM_OBJ{_OR_NULL}, but I do think working with a zend_object* makes
the code more legible and there are no question if this zval can ever be a different type.
Not fully certain about the JIT changes, as maybe the double load is inefficient?