Merge branch 'PHP-8.2'

* PHP-8.2:
  Fix compilation error on old GCC versions
This commit is contained in:
Ilija Tovilo 2023-05-10 11:57:19 +02:00
commit 7304b56f11
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A

View File

@ -250,7 +250,7 @@ ZEND_API const HashTable zend_empty_array = {
.gc.u.type_info = IS_ARRAY | (GC_IMMUTABLE << GC_FLAGS_SHIFT),
.u.flags = HASH_FLAG_UNINITIALIZED,
.nTableMask = HT_MIN_MASK,
.arData = (Bucket*)&uninitialized_bucket[2],
{.arData = (Bucket*)&uninitialized_bucket[2]},
.nNumUsed = 0,
.nNumOfElements = 0,
.nTableSize = HT_MIN_SIZE,