Home
last modified time | relevance | path

Searched refs:clone (Results 26 – 50 of 126) sorted by last modified time

123456

/PHP-5.5/ext/spl/tests/
H A DarrayObject_clone_basic3.phpt14 $wrappedObject->dynamic1 = 'new prop added to $wrappedObject before clone';
15 $clonedOuterArrayObject = clone $outerArrayObject;
16 $wrappedObject->dynamic2 = 'new prop added to $wrappedObject after clone';
29 string(45) "new prop added to $wrappedObject before clone"
31 string(44) "new prop added to $wrappedObject after clone"
43 string(45) "new prop added to $wrappedObject before clone"
45 string(44) "new prop added to $wrappedObject after clone"
60 string(45) "new prop added to $wrappedObject before clone"
62 string(44) "new prop added to $wrappedObject after clone"
76 string(45) "new prop added to $wrappedObject before clone"
/PHP-5.5/ext/spl/
H A Dspl_directory.c381 if (intern->oth_handler && intern->oth_handler->clone) { in spl_filesystem_object_clone()
382 intern->oth_handler->clone(source, intern TSRMLS_CC); in spl_filesystem_object_clone()
H A Dspl_directory.h52 spl_foreign_clone_t clone; member
/PHP-5.5/ext/spl/internal/
H A Dfilteriterator.inc105 // disallow clone
/PHP-5.5/ext/spl/examples/
H A Dkeyfilter.inc60 // disallow clone
/PHP-5.5/ext/simplexml/tests/
H A D006.phpt43 foreach(clone $sxe as $name => $data) {
H A D019.phpt43 foreach(clone $sxe->children() as $name => $data) {
H A Dbug39662.phpt14 $clone = clone $root;
16 var_dump($clone);
17 var_dump($clone->asXML());
H A Dbug39760.phpt19 $test2 = clone $test;
22 $test3 = clone $test->level1->level2a;
H A D002.phpt2 SimpleXML: clone
27 $copy = clone $sxe;
/PHP-5.5/ext/simplexml/
H A Dsimplexml.c1991 php_sxe_object *clone; in sxe_object_clone() local
1995 clone = php_sxe_object_new(sxe->zo.ce TSRMLS_CC); in sxe_object_clone()
1996 clone->document = sxe->document; in sxe_object_clone()
1997 if (clone->document) { in sxe_object_clone()
1998 clone->document->refcount++; in sxe_object_clone()
1999 docp = clone->document->ptr; in sxe_object_clone()
2002 clone->iter.isprefix = sxe->iter.isprefix; in sxe_object_clone()
2004 clone->iter.name = xmlStrdup((xmlChar *)sxe->iter.name); in sxe_object_clone()
2007 clone->iter.nsprefix = xmlStrdup((xmlChar *)sxe->iter.nsprefix); in sxe_object_clone()
2009 clone->iter.type = sxe->iter.type; in sxe_object_clone()
[all …]
/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_CannotClone_basic.phpt13 $rc2 = clone($rc);
15 Fatal error: Trying to clone an uncloneable object of class ReflectionClass in %s on line %d
H A DReflectionClass_isCloneable_001.phpt17 $h = clone $foo;
29 $h = clone $foo;
37 $h = clone $closure;
44 $h = clone new simplexmlelement('<test></test>');
51 $h = clone new xmlwriter;
71 Fatal error: Trying to clone an uncloneable object of class XMLWriter in %s on line %d
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c4108 if (ce->clone) { in ZEND_METHOD()
4109 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4114 if (ce->clone) { in ZEND_METHOD()
4115 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c719 zend_update_inherited_handler(clone);
H A Dzend_persist.c616 if (ce->clone) {
617 ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone);
618 ce->clone->op_array.refcount++;
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_warning_unclonable.phpt2 Trying to clone mysqli_warning object
33 $warning_clone = clone $warning;
41 Fatal error: Trying to clone an uncloneable object of class mysqli_warning in %s on line %d
H A Dmysqli_unclonable.phpt2 Trying to clone mysqli object
17 $link_clone = clone $link;
23 Fatal error: Trying to clone an uncloneable object of class mysqli in %s on line %d
H A Dmysqli_stmt_unclonable.phpt2 Trying to clone mysqli_stmt object
21 $stmt_clone = clone $stmt;
25 Fatal error: Trying to clone an uncloneable object of class mysqli_stmt in %s on line %d
H A Dmysqli_result_unclonable.phpt2 Trying to clone mysqli_result object
20 $res_clone = clone $res;
24 Fatal error: Trying to clone an uncloneable object of class mysqli_result in %s on line %d
H A Dmysqli_driver_unclonable.phpt2 Trying to clone mysqli_driver object
9 $driver_clone = clone $driver;
13 Fatal error: Trying to clone an uncloneable object of class mysqli_driver in %s on line %d
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregexec.c132 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.5/ext/intl/tests/
H A Dtransliterator_clone.phpt2 Transliterator clone handler
13 $u = clone $t;
H A Dtimezone_clone_basic.phpt2 IntlTimeZone clone handler: basic test
13 print_r(clone $tz1);
15 //clone non-owned object
18 print_r(clone $gmt);
/PHP-5.5/ext/intl/timezone/
H A Dtimezone_class.cpp160 timeZone = to->utimezone->clone(); in timezone_process_timezone_argument()
238 newTimeZone = to_orig->utimezone->clone(); in TimeZone_clone_obj()

Completed in 107 milliseconds

123456