Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
* PHP-8.3:
  Reset inheritance_cache pointer of zend_class_entry upon serialization (php#12401)
  • Loading branch information
dstogov committed Oct 11, 2023
2 parents 63c8ce8 + 5553092 commit 7dc352e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/opcache/zend_file_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,8 @@ static void zend_file_cache_serialize_class(zval *zv,

ZEND_MAP_PTR_INIT(ce->static_members_table, NULL);
ZEND_MAP_PTR_INIT(ce->mutable_data, NULL);

ce->inheritance_cache = NULL;
}

static void zend_file_cache_serialize_warnings(
Expand Down

0 comments on commit 7dc352e

Please sign in to comment.