[GIT-PULLS] [php-src] PR #23101: zend_objects_API: Assert that the `.offset` is correct in `zend_object_alloc()`
[email protected] (TimWolla)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23101 Author: TimWolla Motivation is that I initially didn't implement the `.clone_obj` handler for `Time\Duration`, since I thought I didn't need it (since I don't have allocated data there and a simple memcpy of the extra data would suffice), which lead to an obscure error in ZendMM due to pointer alignment.