Skip to content

Commit ff04db4

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix typo in zend_symtable_add_new() API name
2 parents b786e1b + 9369843 commit ff04db4

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
@@ -1176,7 +1176,7 @@ ZEND_FUNCTION(get_object_vars)
11761176
*/
11771177
zend_hash_str_add_new(Z_ARRVAL_P(return_value), prop_name, prop_len, value);
11781178
} else {
1179-
zend_symbtable_add_new(Z_ARRVAL_P(return_value), key, value);
1179+
zend_symtable_add_new(Z_ARRVAL_P(return_value), key, value);
11801180
}
11811181
} ZEND_HASH_FOREACH_END();
11821182
}

Zend/zend_hash.h

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

349-
static zend_always_inline zval *zend_symbtable_add_new(HashTable *ht, zend_string *key, zval *pData)
349+
static zend_always_inline zval *zend_symtable_add_new(HashTable *ht, zend_string *key, zval *pData)
350350
{
351351
zend_ulong idx;
352352

0 commit comments

Comments
 (0)