Home
last modified time | relevance | path

Searched refs:clone (Results 76 – 96 of 96) sorted by relevance

1234

/PHP-5.3/ext/spl/
H A Dspl_directory.h52 spl_foreign_clone_t clone; member
H A Dspl_directory.c379 if (intern->oth_handler && intern->oth_handler->clone) { in spl_filesystem_object_clone()
380 intern->oth_handler->clone(source, intern TSRMLS_CC); in spl_filesystem_object_clone()
/PHP-5.3/ext/simplexml/tests/
H A D019.phpt43 foreach(clone $sxe->children() as $name => $data) {
/PHP-5.3/ext/dom/
H A Dphp_dom.c601 if (obj->clone == NULL) { in dom_objects_store_clone_obj()
605 obj->clone(obj->object, &new_object TSRMLS_CC); in dom_objects_store_clone_obj()
607 …retval.handle = zend_objects_store_put(new_object, obj->dtor, obj->free_storage, obj->clone TSRMLS… in dom_objects_store_clone_obj()
1171 dom_object *clone; in dom_objects_clone() local
1175 clone = dom_objects_set_class(intern->std.ce, 0 TSRMLS_CC); in dom_objects_clone()
1184 clone->document = intern->document; in dom_objects_clone()
1186 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC); in dom_objects_clone()
1187 …php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone TSRMLS_C… in dom_objects_clone()
1188 if (intern->document != clone->document) { in dom_objects_clone()
1189 dom_copy_doc_props(intern->document, clone->document); in dom_objects_clone()
[all …]
/PHP-5.3/ext/curl/
H A Dphp_curl.h142 zval *clone; member
H A Dinterface.c1529 zval *clone; in PHP_FUNCTION() local
1556 MAKE_STD_ZVAL(clone); in PHP_FUNCTION()
1557 ch->clone = clone; in PHP_FUNCTION()
1678 Z_ADDREF_P(ch->clone); in PHP_FUNCTION()
1679 dupch->clone = ch->clone; in PHP_FUNCTION()
2634 if (Z_REFCOUNT_P(ch->clone) <= 1) { in _php_curl_close_ex()
2639 FREE_ZVAL(ch->clone); in _php_curl_close_ex()
2641 Z_DELREF_P(ch->clone); in _php_curl_close_ex()
/PHP-5.3/ext/spl/internal/
H A Dfilteriterator.inc105 // disallow clone
/PHP-5.3/ext/spl/tests/
H A Dfileobject_003.phpt15 $c = clone $o;
/PHP-5.3/ext/simplexml/
H A Dsimplexml.c1943 php_sxe_object *clone; in sxe_object_clone() local
1947 clone = php_sxe_object_new(sxe->zo.ce TSRMLS_CC); in sxe_object_clone()
1948 clone->document = sxe->document; in sxe_object_clone()
1949 if (clone->document) { in sxe_object_clone()
1950 clone->document->refcount++; in sxe_object_clone()
1951 docp = clone->document->ptr; in sxe_object_clone()
1954 clone->iter.isprefix = sxe->iter.isprefix; in sxe_object_clone()
1956 clone->iter.name = xmlStrdup((xmlChar *)sxe->iter.name); in sxe_object_clone()
1959 clone->iter.nsprefix = xmlStrdup((xmlChar *)sxe->iter.nsprefix); in sxe_object_clone()
1961 clone->iter.type = sxe->iter.type; in sxe_object_clone()
[all …]
/PHP-5.3/ext/xsl/
H A Dxsltprocessor.c474 int clone; in php_xsl_apply_stylesheet() local
599 clone = 0; in php_xsl_apply_stylesheet()
600 while(params[clone]) { in php_xsl_apply_stylesheet()
601 efree(params[clone++]); in php_xsl_apply_stylesheet()
/PHP-5.3/Zend/RFCs/
H A D001.txt122 'auto-clone' feature, which will perform a cloning of the object
125 message whenever such an automatic clone occurs, in order to allow
/PHP-5.3/Zend/
H A Dzend_API.c1807 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
1922 clone = reg_function; in zend_register_functions()
1967 scope->clone = clone; in zend_register_functions()
1989 if (clone) { in zend_register_functions()
1990 clone->common.fn_flags |= ZEND_ACC_CLONE; in zend_register_functions()
1991 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
1992 …zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.functio… in zend_register_functions()
1994 clone->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
H A DZEND_CHANGES328 An object copy is created by using the clone operator.
333 $copy_of_object = clone $object;
342 ensures, that the clone will be initialized with all of the
367 $obj_clone = clone $obj;
H A Dzend.h437 union _zend_function *clone; member
H A Dzend_compile.c1292 CG(active_class_entry)->clone = (zend_function *) CG(active_op_array); in zend_do_begin_function_declaration()
2457 if (!ce->clone) { in do_inherit_parent_constructor()
2458 ce->clone = ce->parent->clone; in do_inherit_parent_constructor()
3523 if (ce->clone) { in zend_do_end_class_declaration()
3524 ce->clone->common.fn_flags |= ZEND_ACC_CLONE; in zend_do_end_class_declaration()
3525 if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_do_end_class_declaration()
3526 …zend_error(E_COMPILE_ERROR, "Clone method %s::%s() cannot be static", ce->name, ce->clone->common.… in zend_do_end_class_declaration()
5046 ce->clone = NULL; in zend_initialize_class_data()
H A Dzend_vm_def.h2963 zend_function *clone; variable
2973 clone = ce ? ce->clone : NULL;
2983 if (ce && clone) {
2984 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
2990 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
2993 if (!zend_check_protected(clone->common.scope, EG(scope))) {
H A Dzend_vm_execute.h1786 zend_function *clone; in ZEND_CLONE_SPEC_CONST_HANDLER() local
1796 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_CONST_HANDLER()
1806 if (ce && clone) { in ZEND_CLONE_SPEC_CONST_HANDLER()
5092 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_TMP_HANDLER()
5102 if (ce && clone) { in ZEND_CLONE_SPEC_TMP_HANDLER()
8467 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_VAR_HANDLER()
8477 if (ce && clone) { in ZEND_CLONE_SPEC_VAR_HANDLER()
17007 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_UNUSED_HANDLER()
17017 if (ce && clone) { in ZEND_CLONE_SPEC_UNUSED_HANDLER()
22372 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_CV_HANDLER()
[all …]
H A Dzend_API.h181 class_container.clone = NULL; \
/PHP-5.3/ext/mbstring/oniguruma/
H A Dregexec.c130 OnigCaptureTreeNode *clone, *child; in history_tree_clone() local
132 clone = history_node_new(); in history_tree_clone()
133 CHECK_NULL_RETURN(clone); in history_tree_clone()
135 clone->beg = node->beg; in history_tree_clone()
136 clone->end = node->end; in history_tree_clone()
140 history_tree_free(clone); in history_tree_clone()
143 history_tree_add_child(clone, child); in history_tree_clone()
146 return clone; in history_tree_clone()
/PHP-5.3/ext/date/
H A Dphp_date.c3908 timelib_time *clone; in PHP_METHOD() local
3949 clone = timelib_time_ctor(); in PHP_METHOD()
3950 memcpy(clone, dateobj->time, sizeof(timelib_time)); in PHP_METHOD()
3952 clone->tz_abbr = strdup(dateobj->time->tz_abbr); in PHP_METHOD()
3955 clone->tz_info = dateobj->time->tz_info; in PHP_METHOD()
3957 dpobj->start = clone; in PHP_METHOD()
3965 clone = timelib_time_clone(dateobj->time); in PHP_METHOD()
3966 dpobj->end = clone; in PHP_METHOD()
/PHP-5.3/
H A DNEWS1356 . Implemented clone functionality for number, date & message formatters.
3135 - Fixed bug #46849 (Cloning DOMDocument doesn't clone the properties). (Rob)
4051 - Fixed bug #42818 ($foo = clone(array()); leaks memory). (Dmitry)
4052 - Fixed bug #42817 (clone() on a non-object does not result in a fatal
5434 - Fixed bug #37707 (clone without assigning leaks memory). (Ilia, Nuno, Dmitri)
5657 - Fixed bug #36941 (ArrayIterator does not clone itself). (Marcus)
5782 - Fixed bug #36071 (Engine Crash related with 'clone'). (Dmitry)
6521 - Fixed bug #32930 (class extending DOMDocument doesn't clone properly). (Rob)
6712 - Fixed bug #27268 (Bad references accentuated by clone). (Dmitry)
6782 - Fixed bug #31878 (Segmentation fault using clone keyword on nodes). (Rob)
[all …]

Completed in 517 milliseconds

1234