Skip to content

Commit f18cf46

Browse files
committed
Fix typo in zend_symtable_add_new() API name
1 parent b291985 commit f18cf46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_builtin_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ ZEND_FUNCTION(get_object_vars)
12031203
zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_len);
12041204
zend_hash_str_add_new(Z_ARRVAL_P(return_value), prop_name, prop_len, value);
12051205
} else {
1206-
zend_symbtable_add_new(Z_ARRVAL_P(return_value), key, value);
1206+
zend_symtable_add_new(Z_ARRVAL_P(return_value), key, value);
12071207
}
12081208
}
12091209
}

Zend/zend_hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ static zend_always_inline int zend_hash_str_exists_ind(const HashTable *ht, cons
310310
Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF);
311311
}
312312

313-
static zend_always_inline zval *zend_symbtable_add_new(HashTable *ht, zend_string *key, zval *pData)
313+
static zend_always_inline zval *zend_symtable_add_new(HashTable *ht, zend_string *key, zval *pData)
314314
{
315315
zend_ulong idx;
316316

0 commit comments

Comments
 (0)