mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix op2 caching for static properties Split expression
This commit is contained in:
@@ -3617,8 +3617,8 @@ static zend_always_inline zval* zend_fetch_static_property_address(zend_property
|
||||
if (opline->op1_type == IS_CONST
|
||||
&& (opline->op2_type == IS_CONST
|
||||
|| (opline->op2_type == IS_UNUSED
|
||||
&& (opline->op2.num == ZEND_FETCH_CLASS_SELF
|
||||
|| opline->op2.num == ZEND_FETCH_CLASS_PARENT)))
|
||||
&& ((opline->op2.num & ZEND_FETCH_CLASS_MASK) == ZEND_FETCH_CLASS_SELF
|
||||
|| (opline->op2.num & ZEND_FETCH_CLASS_MASK) == ZEND_FETCH_CLASS_PARENT)))
|
||||
&& EXPECTED(CACHED_PTR(cache_slot + sizeof(void *)) != NULL)) {
|
||||
result = CACHED_PTR(cache_slot + sizeof(void *));
|
||||
property_info = CACHED_PTR(cache_slot + sizeof(void *) * 2);
|
||||
|
||||
Reference in New Issue
Block a user