/PHP-7.4/ext/spl/tests/ |
H A D | fileobject_003.phpt | 15 $c = clone $o;
|
/PHP-7.4/ext/xsl/ |
H A D | xsltprocessor.c | 484 int clone; in php_xsl_apply_stylesheet() local 604 clone = 0; in php_xsl_apply_stylesheet() 605 while(params[clone]) { in php_xsl_apply_stylesheet() 606 efree(params[clone++]); in php_xsl_apply_stylesheet()
|
/PHP-7.4/ext/simplexml/ |
H A D | simplexml.c | 2031 php_sxe_object *clone; in sxe_object_clone() local 2035 clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); in sxe_object_clone() 2036 clone->document = sxe->document; in sxe_object_clone() 2037 if (clone->document) { in sxe_object_clone() 2038 clone->document->refcount++; in sxe_object_clone() 2039 docp = clone->document->ptr; in sxe_object_clone() 2042 clone->iter.isprefix = sxe->iter.isprefix; in sxe_object_clone() 2044 clone->iter.name = (xmlChar*)estrdup((char*)sxe->iter.name); in sxe_object_clone() 2047 clone->iter.nsprefix = (xmlChar*)estrdup((char*)sxe->iter.nsprefix); in sxe_object_clone() 2049 clone->iter.type = sxe->iter.type; in sxe_object_clone() [all …]
|
/PHP-7.4/Zend/tests/assert/ |
H A D | expect_015.phpt | 18 $y = clone $x; 160 $y = clone $x;
|
/PHP-7.4/ext/intl/common/ |
H A D | common_date.cpp | 149 *tz = TimeZone::getGMT()->clone(); in intl_datetime_decompose()
|
/PHP-7.4/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 98 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.4/ext/intl/timezone/ |
H A D | timezone_class.cpp | 160 timeZone = to->utimezone->clone(); in timezone_process_timezone_argument() 244 newTimeZone = to_orig->utimezone->clone(); in TimeZone_clone_obj()
|
/PHP-7.4/ext/curl/ |
H A D | interface.c | 1903 ch->clone = emalloc(sizeof(uint32_t)); in alloc_curl_handle() 1904 *ch->clone = 1; in alloc_curl_handle() 2100 efree(ch->clone); in _php_setup_easy_copy_handlers() 2101 ch->clone = source->clone; in _php_setup_easy_copy_handlers() 2104 (*source->clone)++; in _php_setup_easy_copy_handlers() 2315 if ((*ch->clone) == 1) { in build_mime_structure_from_hash() 2936 if ((*ch->clone) == 1) { in _php_curl_setopt() 3642 if (--(*ch->clone) == 0) { in _php_curl_close_ex() 3649 efree(ch->clone); in _php_curl_close_ex()
|
/PHP-7.4/Zend/ |
H A D | zend.h | 134 zend_function *clone; member
|
H A D | zend_API.c | 2148 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local 2337 clone = reg_function; in zend_register_functions() 2389 scope->clone = clone; in zend_register_functions() 2414 if (clone) { in zend_register_functions() 2415 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions() 2416 …zend_error(error_type, "%s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.… in zend_register_functions() 2418 clone->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions() 2476 if (clone && (clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_register_functions() 2477 … "%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 | 157 if (EXPECTED(!ce->clone)) { in do_inherit_parent_constructor() 158 ce->clone = parent->clone; in do_inherit_parent_constructor() 1513 ce->clone = fe; in zend_add_magic_methods()
|
H A D | zend_vm_def.h | 5515 zend_function *clone; variable 5548 clone = ce->clone; 5557 if (clone && !(clone->common.fn_flags & ZEND_ACC_PUBLIC)) { 5559 if (clone->common.scope != scope) { 5560 if (UNEXPECTED(clone->common.fn_flags & ZEND_ACC_PRIVATE) 5561 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), scope))) { 5562 zend_wrong_clone_call(clone, scope);
|
H A D | zend_compile.c | 1674 ce->clone = NULL; in zend_initialize_class_data() 5840 ce->clone = (zend_function *) op_array; in zend_begin_method_decl() 6513 if (ce->clone) { in zend_compile_class_decl() 6514 if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_compile_class_decl() 6516 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl() 6517 } else if (ce->clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_compile_class_decl() 6520 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_persist.c | 961 if (ce->clone) { in zend_update_parent_ce() 962 zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->clone); in zend_update_parent_ce() 964 ce->clone = tmp; in zend_update_parent_ce()
|
H A D | zend_file_cache.c | 781 SERIALIZE_PTR(ce->clone); 1468 UNSERIALIZE_PTR(ce->clone);
|
H A D | zend_accelerator_util_funcs.c | 349 zend_update_inherited_handler(clone); in zend_class_copy_ctor()
|
/PHP-7.4/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() 1164 timeZone = TimeZone::getGMT()->clone(); in PHP_FUNCTION()
|
/PHP-7.4/Zend/tests/ |
H A D | temporary_cleaning_013.phpt | 269 var_dump(clone (new class {
|
/PHP-7.4/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 355 df->adoptTimeZone(used_tz->clone()); in umsg_set_timezone()
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 4684 timelib_time *clone; in PHP_METHOD() local 4726 clone = timelib_time_ctor(); in PHP_METHOD() 4727 memcpy(clone, dateobj->time, sizeof(timelib_time)); in PHP_METHOD() 4729 clone->tz_abbr = timelib_strdup(dateobj->time->tz_abbr); in PHP_METHOD() 4732 clone->tz_info = dateobj->time->tz_info; in PHP_METHOD() 4734 dpobj->start = clone; in PHP_METHOD() 4743 clone = timelib_time_clone(dateobj->time); in PHP_METHOD() 4744 dpobj->end = clone; in PHP_METHOD()
|
/PHP-7.4/ |
H A D | UPGRADING.INTERNALS | 56 clone, now we use the same private property_info, and should also
|
/PHP-7.4/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.4/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()
|