Searched defs:old_object (Results 1 - 8 of 8) sorted by relevance

/PHP_5_3/ext/dom/
H A Dphp_dom.c595 dom_object *old_object; local
612 old_object = (dom_object *) obj->object;
613 zend_objects_clone_members(&intern->std, retval, &old_object->std, intern->handle TSRMLS_CC);
/PHP_5_3/ext/spl/
H A Dspl_heap.c483 zend_object *old_object; local
488 old_object = zend_objects_get_address(zobject TSRMLS_CC);
489 new_obj_val = spl_heap_object_new_ex(old_object->ce, &intern, zobject, 1 TSRMLS_CC);
492 zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC);
H A Dspl_dllist.c467 zend_object *old_object; local
472 old_object = zend_objects_get_address(zobject TSRMLS_CC);
473 new_obj_val = spl_dllist_object_new_ex(old_object->ce, &intern, zobject, 1 TSRMLS_CC);
476 zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC);
H A Dspl_array.c293 zend_object *old_object; local
298 old_object = zend_objects_get_address(zobject TSRMLS_CC);
299 new_obj_val = spl_array_object_new_ex(old_object->ce, &intern, zobject, 1 TSRMLS_CC);
302 zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC);
H A Dspl_directory.c334 zend_object *old_object; local
341 old_object = zend_objects_get_address(zobject TSRMLS_CC);
342 source = (spl_filesystem_object*)old_object;
344 new_obj_val = spl_filesystem_object_new_ex(old_object->ce, &intern TSRMLS_CC);
368 php_error_docref(NULL TSRMLS_CC, E_ERROR, "An object of class %s cannot be cloned", old_object->ce->name);
377 zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC);
H A Dspl_fixedarray.c312 zend_object *old_object; local
317 old_object = zend_objects_get_address(zobject TSRMLS_CC);
318 new_obj_val = spl_fixedarray_object_new_ex(old_object->ce, &intern, zobject, 1 TSRMLS_CC);
321 zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC);
H A Dspl_observer.c229 zend_object *old_object; local
234 old_object = zend_objects_get_address(zobject TSRMLS_CC);
235 new_obj_val = spl_object_storage_new_ex(old_object->ce, &intern, zobject TSRMLS_CC);
238 zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC);
/PHP_5_3/Zend/
H A Dzend_objects.c147 ZEND_API void zend_objects_clone_members(zend_object *new_object, zend_object_value new_obj_val, zend_object *old_object, zend_object_handle handle TSRMLS_DC) argument
149 zend_hash_copy(new_object->properties, old_object->properties, zval_copy_property_ctor(old_object->ce), (void *) NULL /* Not used anymore */, sizeof(zval *));
151 if (old_object->ce->clone) {
159 zend_call_method_with_0_params(&new_obj, old_object->ce, &old_object->ce->clone, ZEND_CLONE_FUNC_NAME, NULL);
168 zend_object *old_object; local
174 old_object = zend_objects_get_address(zobject TSRMLS_CC);
175 new_obj_val = zend_objects_new(&new_object, old_object->ce TSRMLS_CC);
180 zend_objects_clone_members(new_object, new_obj_val, old_object, handl
[all...]

Completed in 26 milliseconds