/PHP-5.6/Zend/ |
H A D | zend_objects.c | 204 if (old_object->ce->clone) { in zend_objects_clone_members() 212 …zend_call_method_with_0_params(&new_obj, old_object->ce, &old_object->ce->clone, ZEND_CLONE_FUNC_N… in zend_objects_clone_members()
|
H A D | zend_API.c | 2082 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local 2216 clone = reg_function; in zend_register_functions() 2263 scope->clone = clone; in zend_register_functions() 2286 if (clone) { in zend_register_functions() 2287 clone->common.fn_flags |= ZEND_ACC_CLONE; in zend_register_functions() 2288 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions() 2289 …zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.functio… in zend_register_functions() 2291 clone->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
|
H A D | ZEND_CHANGES | 328 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 D | zend.h | 497 union _zend_function *clone; member
|
H A D | zend_vm_def.h | 3658 zend_function *clone; variable 3673 clone = ce ? ce->clone : NULL; 3683 if (ce && clone) { 3684 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) { 3690 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) { 3693 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
|
H A D | zend_compile.c | 1657 CG(active_class_entry)->clone = (zend_function *) CG(active_op_array); in zend_do_begin_function_declaration() 3156 if (!ce->clone) { in do_inherit_parent_constructor() 3157 ce->clone = ce->parent->clone; in do_inherit_parent_constructor() 3984 ce->clone = fe; fe->common.fn_flags |= ZEND_ACC_CLONE; in zend_add_magic_methods() 5267 if (ce->clone) { in zend_do_end_class_declaration() 5268 ce->clone->common.fn_flags |= ZEND_ACC_CLONE; in zend_do_end_class_declaration() 5269 if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_do_end_class_declaration() 5270 …(E_COMPILE_ERROR, "Clone method %s::%s() cannot be static", ce->name, ce->clone->common.function_n… in zend_do_end_class_declaration() 6987 ce->clone = NULL; in zend_initialize_class_data()
|
H A D | zend_vm_execute.h | 2800 zend_function *clone; in ZEND_CLONE_SPEC_CONST_HANDLER() local 2815 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_CONST_HANDLER() 2825 if (ce && clone) { in ZEND_CLONE_SPEC_CONST_HANDLER() 8196 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_TMP_HANDLER() 8206 if (ce && clone) { in ZEND_CLONE_SPEC_TMP_HANDLER() 13580 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_VAR_HANDLER() 13590 if (ce && clone) { in ZEND_CLONE_SPEC_VAR_HANDLER() 24776 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_UNUSED_HANDLER() 24786 if (ce && clone) { in ZEND_CLONE_SPEC_UNUSED_HANDLER() 31420 clone = ce ? ce->clone : NULL; in ZEND_CLONE_SPEC_CV_HANDLER() [all …]
|
/PHP-5.6/ext/dom/ |
H A D | php_dom.c | 601 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() 1178 dom_object *clone; in dom_objects_clone() local 1182 clone = dom_objects_set_class(intern->std.ce, 0 TSRMLS_CC); in dom_objects_clone() 1191 clone->document = intern->document; in dom_objects_clone() 1193 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC); in dom_objects_clone() 1194 …php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone TSRMLS_C… in dom_objects_clone() 1195 if (intern->document != clone->document) { in dom_objects_clone() 1196 dom_copy_doc_props(intern->document, clone->document); in dom_objects_clone() [all …]
|
/PHP-5.6/ext/curl/ |
H A D | php_curl.h | 183 zval *clone; member
|
H A D | interface.c | 1913 zval *clone; in PHP_FUNCTION() local 1936 MAKE_STD_ZVAL(clone); in PHP_FUNCTION() 1937 ch->clone = clone; in PHP_FUNCTION() 2051 Z_ADDREF_P(ch->clone); in PHP_FUNCTION() 2052 dupch->clone = ch->clone; in PHP_FUNCTION() 2519 if (Z_REFCOUNT_P(ch->clone) <= 1) { in _php_curl_setopt() 2685 if (Z_REFCOUNT_P(ch->clone) <= 1) { in _php_curl_setopt() 3286 if (Z_REFCOUNT_P(ch->clone) <= 1) { in _php_curl_close_ex() 3292 FREE_ZVAL(ch->clone); in _php_curl_close_ex() 3294 Z_DELREF_P(ch->clone); in _php_curl_close_ex()
|
/PHP-5.6/ext/spl/internal/ |
H A D | filteriterator.inc | 105 // disallow clone
|
/PHP-5.6/ext/spl/tests/ |
H A D | fileobject_003.phpt | 15 $c = clone $o;
|
/PHP-5.6/ext/opcache/ |
H A D | zend_persist.c | 647 if (ce->clone) { 648 ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone); 649 ce->clone->op_array.refcount++;
|
/PHP-5.6/ext/simplexml/ |
H A D | simplexml.c | 2004 php_sxe_object *clone; in sxe_object_clone() local 2008 clone = php_sxe_object_new(sxe->zo.ce TSRMLS_CC); in sxe_object_clone() 2009 clone->document = sxe->document; in sxe_object_clone() 2010 if (clone->document) { in sxe_object_clone() 2011 clone->document->refcount++; in sxe_object_clone() 2012 docp = clone->document->ptr; in sxe_object_clone() 2015 clone->iter.isprefix = sxe->iter.isprefix; in sxe_object_clone() 2017 clone->iter.name = xmlStrdup((xmlChar *)sxe->iter.name); in sxe_object_clone() 2020 clone->iter.nsprefix = xmlStrdup((xmlChar *)sxe->iter.nsprefix); in sxe_object_clone() 2022 clone->iter.type = sxe->iter.type; in sxe_object_clone() [all …]
|
/PHP-5.6/sapi/phpdbg/ |
H A D | README.md | 37 git clone https://github.com/krakjoe/phpdbg
|
/PHP-5.6/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 91 CodePointBreakIterator* CodePointBreakIterator::clone(void) const in clone() function in CodePointBreakIterator
|
H A D | breakiterator_class.cpp | 115 new_biter = bio_orig->biter->clone(); in BreakIterator_clone_obj()
|
/PHP-5.6/Zend/RFCs/ |
H A D | 001.txt | 122 '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.6/ext/xsl/ |
H A D | xsltprocessor.c | 496 int clone; in php_xsl_apply_stylesheet() local 637 clone = 0; in php_xsl_apply_stylesheet() 638 while(params[clone]) { in php_xsl_apply_stylesheet() 639 efree(params[clone++]); in php_xsl_apply_stylesheet()
|
/PHP-5.6/ext/intl/common/ |
H A D | common_date.cpp | 158 *tz = TimeZone::getGMT()->clone();
|
/PHP-5.6/ext/intl/timezone/ |
H A D | timezone_class.cpp | 160 timeZone = to->utimezone->clone(); in timezone_process_timezone_argument() 238 newTimeZone = to_orig->utimezone->clone(); in TimeZone_clone_obj()
|
/PHP-5.6/ext/mbstring/oniguruma/ |
H A D | regexec.c | 132 OnigCaptureTreeNode *clone, *child; in history_tree_clone() local 134 clone = history_node_new(); in history_tree_clone() 135 CHECK_NULL_RETURN(clone); in history_tree_clone() 137 clone->beg = node->beg; in history_tree_clone() 138 clone->end = node->end; in history_tree_clone() 142 history_tree_free(clone); in history_tree_clone() 145 history_tree_add_child(clone, child); in history_tree_clone() 148 return clone; in history_tree_clone()
|
/PHP-5.6/ext/intl/calendar/ |
H A D | calendar_class.cpp | 98 newCalendar = co_orig->ucal->clone(); in Calendar_clone_obj()
|
H A D | calendar_methods.cpp | 782 TimeZone *tz = co->ucal->getTimeZone().clone(); in PHP_FUNCTION() 1192 timeZone = TimeZone::getGMT()->clone(); in PHP_FUNCTION()
|
/PHP-5.6/ext/date/ |
H A D | php_date.c | 4427 timelib_time *clone; in PHP_METHOD() local 4469 clone = timelib_time_ctor(); in PHP_METHOD() 4470 memcpy(clone, dateobj->time, sizeof(timelib_time)); in PHP_METHOD() 4472 clone->tz_abbr = strdup(dateobj->time->tz_abbr); in PHP_METHOD() 4475 clone->tz_info = dateobj->time->tz_info; in PHP_METHOD() 4477 dpobj->start = clone; in PHP_METHOD() 4486 clone = timelib_time_clone(dateobj->time); in PHP_METHOD() 4487 dpobj->end = clone; in PHP_METHOD()
|