You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(opcache): relocate PHP 8.4 property hooks in cache binaries #113
Follow-up to the OpCache binary-file API (#111, merged).
PayloadRelocator refuses property-hooked classes: (un)serializePropInfo() throws OpCacheException::unsupportedPayload('property-hook relocation') when prop->hooks is set (src/OpCache/PayloadRelocator.php:913, :935).
Scope: port the prop->hooks branch of zend_file_cache_(un)serialize_prop_info — relocate the hooks array and recurse into each hook's op_array (ZEND_PROPERTY_HOOK_COUNT slots), both directions.
Acceptance: a fixture with a hooked property (public int $x { get => ...; set => ...; }) round-trips byte-for-byte and executes from the patched cache.
Activity
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…