1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00

- Fixing bug #27123

This commit is contained in:
Andi Gutmans
2004-03-14 17:16:31 +00:00
parent f11c819ddb
commit 47cb3323a8

View File

@@ -707,6 +707,8 @@ ZEND_FUNCTION(get_object_vars)
while (zend_hash_get_current_data_ex(properties, (void **) &value, &pos) == SUCCESS) {
if (zend_hash_get_current_key_ex(properties, &key, &key_len, &num_index, 0, &pos) == HASH_KEY_IS_STRING && key[0]) {
/* Not separating references */
(*value)->refcount++;
add_assoc_zval_ex(return_value, key, key_len, *value);
}
zend_hash_move_forward_ex(properties, &pos);