mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Remove redundant condition
This commit is contained in:
commit
d016c49cf5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue