/PHP-7.3/ext/simplexml/ |
H A D | simplexml.c | 2012 php_sxe_object *clone; in sxe_object_clone() local 2016 clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); in sxe_object_clone() 2017 clone->document = sxe->document; in sxe_object_clone() 2018 if (clone->document) { in sxe_object_clone() 2019 clone->document->refcount++; in sxe_object_clone() 2020 docp = clone->document->ptr; in sxe_object_clone() 2023 clone->iter.isprefix = sxe->iter.isprefix; in sxe_object_clone() 2025 clone->iter.name = (xmlChar*)estrdup((char*)sxe->iter.name); in sxe_object_clone() 2028 clone->iter.nsprefix = (xmlChar*)estrdup((char*)sxe->iter.nsprefix); in sxe_object_clone() 2030 clone->iter.type = sxe->iter.type; in sxe_object_clone() [all …]
|
/PHP-7.3/sapi/phpdbg/ |
H A D | README.md | 35 git clone https://github.com/krakjoe/phpdbg
|
/PHP-7.3/Zend/tests/assert/ |
H A D | expect_015.phpt | 18 $y = clone $x; 160 $y = clone $x;
|
/PHP-7.3/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 94 CodePointBreakIterator* CodePointBreakIterator::clone(void) const in clone() function in CodePointBreakIterator
|
H A D | breakiterator_class.cpp | 116 new_biter = bio_orig->biter->clone(); in BreakIterator_clone_obj()
|
/PHP-7.3/ext/intl/common/ |
H A D | common_date.cpp | 156 *tz = TimeZone::getGMT()->clone();
|
/PHP-7.3/ext/intl/timezone/ |
H A D | timezone_class.cpp | 160 timeZone = to->utimezone->clone(); in timezone_process_timezone_argument() 242 newTimeZone = to_orig->utimezone->clone(); in TimeZone_clone_obj()
|
/PHP-7.3/ext/curl/ |
H A D | interface.c | 1943 ch->clone = emalloc(sizeof(uint32_t)); in alloc_curl_handle() 1944 *ch->clone = 1; in alloc_curl_handle() 2136 efree(ch->clone); in _php_setup_easy_copy_handlers() 2137 ch->clone = source->clone; in _php_setup_easy_copy_handlers() 2140 (*source->clone)++; in _php_setup_easy_copy_handlers() 2734 if ((*ch->clone) == 1) { in _php_curl_setopt() 2904 if ((*ch->clone) == 1) { in _php_curl_setopt() 3573 if (--(*ch->clone) == 0) { in _php_curl_close_ex() 3579 efree(ch->clone); in _php_curl_close_ex()
|
/PHP-7.3/ext/opcache/ |
H A D | zend_persist.c | 840 if (ce->clone) { in zend_update_parent_ce() 841 ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone); in zend_update_parent_ce()
|
H A D | zend_file_cache.c | 703 SERIALIZE_PTR(ce->clone); 1316 UNSERIALIZE_PTR(ce->clone);
|
H A D | zend_accelerator_util_funcs.c | 411 zend_update_inherited_handler(clone); in zend_class_copy_ctor()
|
/PHP-7.3/Zend/ |
H A D | zend.h | 128 union _zend_function *clone; member
|
H A D | zend_API.c | 2166 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local 2351 clone = reg_function; in zend_register_functions() 2403 scope->clone = clone; in zend_register_functions() 2426 if (clone) { in zend_register_functions() 2427 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions() 2428 …zend_error(error_type, "%s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.… in zend_register_functions() 2430 clone->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions() 2488 if (clone && (clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_register_functions() 2489 … "%s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.function_n… in zend_register_functions()
|
H A D | zend_inheritance.c | 141 if (EXPECTED(!ce->clone)) { in do_inherit_parent_constructor() 142 ce->clone = ce->parent->clone; in do_inherit_parent_constructor() 1135 ce->clone = fe; in zend_add_magic_methods()
|
H A D | zend_vm_def.h | 5005 zend_function *clone; variable 5038 clone = ce->clone; 5047 if (clone) { 5048 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) { 5052 if (!zend_check_private(clone, scope, clone->common.function_name)) { 5053 …zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(clone->common.s… 5058 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) { 5062 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), scope))) { 5063 …zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(clone->common…
|
H A D | zend_compile.c | 1752 ce->clone = NULL; in zend_initialize_class_data() 5891 ce->clone = (zend_function *) op_array; in zend_begin_method_decl() 6528 if (ce->clone) { in zend_compile_class_decl() 6529 if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_compile_class_decl() 6531 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl() 6532 } else if (ce->clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_compile_class_decl() 6535 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl()
|
H A D | zend_vm_execute.h | 3083 zend_function *clone; local 3116 clone = ce->clone; 3125 if (clone) { 3130 if (!zend_check_private(clone, scope, clone->common.function_name)) { 12419 clone = ce->clone; 12428 if (clone) { 12433 if (!zend_check_private(clone, scope, clone->common.function_name)) { 30521 clone = ce->clone; 30530 if (clone) { 37308 clone = ce->clone; [all …]
|
H A D | zend_API.h | 199 class_container.clone = NULL; \
|
/PHP-7.3/ext/intl/calendar/ |
H A D | calendar_class.cpp | 99 newCalendar = co_orig->ucal->clone(); in Calendar_clone_obj()
|
H A D | calendar_methods.cpp | 766 TimeZone *tz = co->ucal->getTimeZone().clone(); in PHP_FUNCTION() 1172 timeZone = TimeZone::getGMT()->clone(); in PHP_FUNCTION()
|
/PHP-7.3/Zend/tests/ |
H A D | temporary_cleaning_013.phpt | 269 var_dump(clone (new class {
|
/PHP-7.3/ext/date/ |
H A D | php_date.c | 4613 timelib_time *clone; in PHP_METHOD() local 4655 clone = timelib_time_ctor(); in PHP_METHOD() 4656 memcpy(clone, dateobj->time, sizeof(timelib_time)); in PHP_METHOD() 4658 clone->tz_abbr = timelib_strdup(dateobj->time->tz_abbr); in PHP_METHOD() 4661 clone->tz_info = dateobj->time->tz_info; in PHP_METHOD() 4663 dpobj->start = clone; in PHP_METHOD() 4672 clone = timelib_time_clone(dateobj->time); in PHP_METHOD() 4673 dpobj->end = clone; in PHP_METHOD()
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | regexec.c | 768 OnigCaptureTreeNode *clone, *child; in history_tree_clone() local 770 clone = history_node_new(); in history_tree_clone() 771 CHECK_NULL_RETURN(clone); in history_tree_clone() 773 clone->beg = node->beg; in history_tree_clone() 774 clone->end = node->end; in history_tree_clone() 778 history_tree_free(clone); in history_tree_clone() 781 history_tree_add_child(clone, child); in history_tree_clone() 784 return clone; in history_tree_clone()
|
/PHP-7.3/ext/reflection/ |
H A D | php_reflection.c | 4579 if (ce->clone) { in ZEND_METHOD() 4580 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD() 4585 if (ce->clone) { in ZEND_METHOD() 4586 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
|
/PHP-7.3/ext/spl/ |
H A D | spl_directory.c | 393 if (intern->oth_handler && intern->oth_handler->clone) { in spl_filesystem_object_clone() 394 intern->oth_handler->clone(source, intern); in spl_filesystem_object_clone()
|