Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  Remove redundant condition
This commit is contained in:
Ilija Tovilo 2023-08-17 18:55:45 +02:00
commit d016c49cf5
No known key found for this signature in database
GPG key ID: A4F5D403F118200A

View file

@ -1438,7 +1438,7 @@ static bool array_is_const_ex(zend_array *array, uint32_t *max_checks)
if (!array_is_const_ex(array, max_checks)) {
return false;
}
} else if (UNEXPECTED(Z_TYPE_P(element) >=IS_OBJECT)) {
} else {
return false;
}
} ZEND_HASH_FOREACH_END();