1
0
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:
Xinchen Hui
2015-12-21 18:12:57 +08:00
parent 817513af4e
commit 4531d2c591
+1 -2
View File
@@ -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;