1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Remove redundant condition

Never refactor code just before pushing
This commit is contained in:
Ilija Tovilo
2023-08-17 18:54:30 +02:00
parent f78d1d0d10
commit dd01c74a6f

View File

@@ -1473,7 +1473,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();