[php-src] PR #23101: zend_objects_API: Assert that the `.offset` is correct in `zend_object_alloc()`

From: Date: Fri, 07 Aug 2026 14:08:34 +0000
Subject: [php-src] PR #23101: zend_objects_API: Assert that the `.offset` is correct in `zend_object_alloc()`
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37614@lists.php.net to get a copy of this message
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.

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