mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
Fixed typo
This commit is contained in:
@@ -2188,9 +2188,8 @@ static void add_xml_array_elements(xmlNodePtr xmlParam,
|
||||
static inline int array_num_elements(HashTable* ht)
|
||||
{
|
||||
if (ht->nNumUsed &&
|
||||
Z_TYPE(ht->arData[ht->nNumUsed-1].val) != IS_UNUSED &&
|
||||
Z_TYPE(ht->arData[ht->nNumUsed-1].val) != IS_UNDEF &&
|
||||
ht->arData[ht->nNumUsed-1].key == NULL) {
|
||||
|
||||
return ht->arData[ht->nNumUsed-1].h - 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user