[php-src] PR #23683: ext/opcache: Fix GH-23679 tracing JIT shadowed private writes
| From: | iliaal | Date: | Sun, 13 Sep 2026 19:15:16 +0000 |
| Subject: | [php-src] PR #23683: ext/opcache: Fix GH-23679 tracing JIT shadowed private writes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38474@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23683
Author: iliaal
Tracing JIT specialised $clone->prop writes in a parent method to a child's public property
of the same name (ZEND_ACC_CHANGED). zend_get_known_property_info now refuses that known-offset path
when the executing scope is not the object's class, so the runtime cache populated by
zend_get_property_offset is used instead. FETCH_OBJ_W, ASSIGN_OBJ, INC, and ASSIGN_OBJ_OP share the
helper; $this access, child methods, and unshadowed properties do not. Fixes #23679