Home
last modified time | relevance | path

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

123456789

/php-src/ext/intl/tests/
H A Dcpbi_clone_equality.phpt2 IntlCodePointBreakIterator: clone and equality
16 $it_clone = clone $it;
/php-src/ext/reflection/tests/
H A DReflectionClass_CannotClone_basic.phpt9 $rc2 = clone($rc);
12 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class ReflectionClass in %s:%d
/php-src/Zend/tests/
H A Dclone_004.phpt2 Testing usage of object as array on clone statement
14 $a = clone $c->b[1];
/php-src/ext/date/tests/
H A Dbug80913.phpt6 $_30mbefore = (clone $date)->sub(new DateInterval('PT30M'));
7 $_30mafter = (clone $date)->add(new DateInterval('PT30M'));
H A Dbug48476.phpt18 $x = clone $o;
26 clone $o;
29 var_dump(timezone_location_get(clone new MyDateTimezone));
H A Dbug74639.phpt11 $clonedPeriod = clone $period;
12 $clonedInterval = clone $interval;
H A Dbug75167.phpt12 $five_hours_later = (clone $date)->add($five_hours_interval);
13 $newDate = (clone $five_hours_later)->sub($five_hours_interval);
H A Doo_002.phpt10 $c = clone $d;
18 $c = clone $t;
H A Dbug73460-002.phpt13 $now = clone $end;
26 $now = clone $start;
H A DDateTime_fix_createFromFormat.phpt9 echo "*** Testing clone on DateTime objects ***\n";
25 *** Testing clone on DateTime objects ***
/php-src/Zend/tests/readonly_props/
H A Dreadonly_clone_success3.phpt19 var_dump(clone $foo);
20 var_dump(clone $foo);
H A Dreadonly_clone_error4.phpt22 clone $foo;
28 clone $foo;
H A Dreadonly_clone_success4.phpt25 var_dump(clone $foo);
26 var_dump(clone $foo);
/php-src/ext/simplexml/tests/
H A Dbug39760.phpt19 $test2 = clone $test;
22 $test3 = clone $test->level1->level2a;
H A D002.phpt2 SimpleXML: clone
27 $copy = clone $sxe;
/php-src/ext/dom/tests/modern/spec/
H A DDocument_implementation_same_object.phpt19 clone $implementation;
31 Trying to clone an uncloneable object of class DOM\Implementation
/php-src/ext/mysqli/tests/
H A Dmysqli_warning_unclonable.phpt2 Trying to clone mysqli_warning object
32 $warning_clone = clone $warning;
40 Fatal error: Trying to clone an uncloneable object of class mysqli_warning in %s on line %d
/php-src/ext/com_dotnet/
H A Dcom_persist.c684 clone = emalloc(sizeof(*object)); in helper_clone()
685 memcpy(clone, object, sizeof(*object)); in helper_clone()
689 if (clone->ipf) { in helper_clone()
690 IPersistFile_AddRef(clone->ipf); in helper_clone()
692 if (clone->ips) { in helper_clone()
693 IPersistStream_AddRef(clone->ips); in helper_clone()
695 if (clone->ipsi) { in helper_clone()
696 IPersistStreamInit_AddRef(clone->ipsi); in helper_clone()
698 if (clone->unk) { in helper_clone()
699 IUnknown_AddRef(clone->unk); in helper_clone()
[all …]
/php-src/ext/fileinfo/tests/
H A Dclone_serialize.phpt11 $finfo2 = clone $finfo;
26 Trying to clone an uncloneable object of class finfo
/php-src/ext/dom/tests/
H A Dclone_attribute_namespace_02.phpt16 $clone = $dom->documentElement->getAttributeNodeNs("some:ns", "bar")->cloneNode(true);
17 $dom->documentElement->firstElementChild->setAttributeNodeNs($clone);
/php-src/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp71 TimeZone *tz_clone = tz.clone(); in PHP_FUNCTION()
146 Calendar *cal_clone = cal->clone(); in PHP_FUNCTION()
197 TimeZone *old_timezone = fetch_datefmt(dfo)->getTimeZone().clone(); in PHP_FUNCTION()
207 cal = cal->clone(); in PHP_FUNCTION()
/php-src/ext/pdo/tests/
H A Dbug_77849.phpt18 $db2 = clone $db;
21 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class PDO in %s
/php-src/ext/random/tests/02_engine/
H A Duser_compatibility.phpt22 $native_engine = clone $engine;
23 $user_engine = new TestWrapperEngine(clone $engine);
/php-src/ext/spl/tests/
H A Darray_022.phpt18 $b = clone $a;
39 $b = clone $a;
/php-src/ext/opcache/jit/ir/
H A Dir_gcm.c323 clone = clones_count++; in ir_split_partially_dead_node()
325 clones[clone].block = j; in ir_split_partially_dead_node()
332 clones[clone].use_count++; in ir_split_partially_dead_node()
343 if (clone == IR_INVALID_VAL) { in ir_split_partially_dead_node()
344 clone = clones_count++; in ir_split_partially_dead_node()
346 clones[clone].block = j; in ir_split_partially_dead_node()
347 clones[clone].use_count = 0; in ir_split_partially_dead_node()
348 clones[clone].use = -1; in ir_split_partially_dead_node()
353 clones[clone].use_count++; in ir_split_partially_dead_node()
391 clone = clones[i].ref; in ir_split_partially_dead_node()
[all …]

Completed in 59 milliseconds

123456789