Lines Matching refs:properties
34 object->properties = NULL; in _zend_object_std_init()
50 if (object->properties) { in zend_object_std_dtor()
51 if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_object_std_dtor()
52 if (EXPECTED(GC_DELREF(object->properties) == 0) in zend_object_std_dtor()
53 && EXPECTED(GC_TYPE(object->properties) != IS_NULL)) { in zend_object_std_dtor()
54 zend_array_destroy(object->properties); in zend_object_std_dtor()
214 } else if (old_object->properties && !old_object->ce->clone) { in zend_objects_clone_members()
217 if (EXPECTED(!(GC_FLAGS(old_object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_objects_clone_members()
218 GC_ADDREF(old_object->properties); in zend_objects_clone_members()
220 new_object->properties = old_object->properties; in zend_objects_clone_members()
225 if (old_object->properties && in zend_objects_clone_members()
226 EXPECTED(zend_hash_num_elements(old_object->properties))) { in zend_objects_clone_members()
231 if (!new_object->properties) { in zend_objects_clone_members()
232 new_object->properties = zend_new_array(zend_hash_num_elements(old_object->properties)); in zend_objects_clone_members()
233 zend_hash_real_init_mixed(new_object->properties); in zend_objects_clone_members()
235 …zend_hash_extend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements… in zend_objects_clone_members()
238 HT_FLAGS(new_object->properties) |= in zend_objects_clone_members()
239 HT_FLAGS(old_object->properties) & HASH_FLAG_HAS_EMPTY_IND; in zend_objects_clone_members()
241 ZEND_HASH_FOREACH_KEY_VAL(old_object->properties, num_key, key, prop) { in zend_objects_clone_members()
249 _zend_hash_append(new_object->properties, key, &new_prop); in zend_objects_clone_members()
251 zend_hash_index_add_new(new_object->properties, num_key, &new_prop); in zend_objects_clone_members()