Searched refs:clone (Results 26 – 50 of 154) sorted by relevance
1234567
2 Bug #74862 (Unable to clone instance when private __clone defined in a child class)27 $a = clone $this;40 // private clone
17 print "clone\n";35 clone $a;46 clone
2 Bug #37707 (clone without assigning leaks memory)10 clone new testme();
2 Bug #42818 ($foo = clone(array()); leaks memory)5 $foo = clone(array());
2 Using clone statement on non-object6 $a = clone array();
2 Bug #36071 (Engine Crash related with 'clone')7 $a = clone 0;
18 var_dump(clone (new bar)->z);19 var_dump(clone (new bar)->getZ());
2 Using clone statement on undefined variable6 $a = clone $b;
2 IntlTimeZone clone handler: error test18 var_dump(clone $tz);31 string(39) "Cannot clone unconstructed IntlTimeZone"
2 IntlBreakIterator: clone handler12 $bi_clone = clone $bi;17 $bi_clone = clone $bi;
16 $fmt_clone = clone $fmt;23 $res_str .= "Formatted(clone) number: " . ut_nfmt_format( $fmt_clone, $test_value ) . "\n";30 Formatted(clone) number: 12345.123456
17 $fmt_clone = clone $fmt;22 $res_str .= "Formatting clone result: " . ut_msgfmt_format( $fmt_clone, array(123, 456) ) . "\n";30 Formatting clone result: 123 monkeys on 456 trees
14 $b = clone $a;19 string(42) "Cannot clone unconstructed NumberFormatter"
14 $b = clone $a;19 string(%d) "Cannot clone unconstructed MessageFormatter"
14 $b = clone $a;19 string(%s) "Cannot clone unconstructed IntlDateFormatter"
28 $clone = clone $obj;29 var_dump(get_class($clone));
19 $fmt_clone = clone $fmt;25 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted";35 Result of clone formatting timestamp=0 is :
2 Bug #36941 (ArrayIterator does not clone itself)9 $b = clone $a;22 $b = clone $a;
2 SPL: FilesystemIterator and clone7 $b = clone $a;13 $c = clone $a;
2 Trying to clone mysqli object17 $link_clone = clone $link;23 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli in %s:%d
2 Trying to clone mysqli_result object20 $res_clone = clone $res;24 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_result in %s:%d
2 Trying to clone mysqli_stmt object21 $stmt_clone = clone $stmt;25 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_stmt in %s:%d
2 Bug #46849 (Cloning DOMDocument doesn't clone the properties).11 $dom2 = clone $dom;
11 clone $gen;15 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class Generator in %s:%d
22 $this->p5 = 'clone:5';28 $copy = clone $obj;52 [p5] => clone:5
Completed in 24 milliseconds